Guidance on possible linting rules #1898
Unanswered
danielbecroft
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We're experimenting with spectral to see if it can solve some of our API consistency issues. A couple of the items we're after are:
address
needs to reference a named object, not define the properties inlineformat
based on property names, e.g in the below snippet, any property that ends withDate
should have aformat: date
specified, anything ending inGUID
should haveformat: guid
specified.Are these checks possible with the spectral toolkit? I know they'd need custom rules, but doing a sanity check before even attempting them.
Beta Was this translation helpful? Give feedback.
All reactions