Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spectral for OpenAPI (Swagger) #126

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AMorgaut
Copy link

@AMorgaut AMorgaut commented Aug 7, 2024

We use spectral to lint our Open API files
It allows us to integrate custom rules like making cache-control HTTP response header mandatory

Information:

Checklist:

  • Only added one linter?
  • Is it inside the right language container?
  • Is it sorted alphabetically inside the container?
  • Does the title follow the template: "Add [LINTER] for [LANGUAGE]."?

@AMorgaut
Copy link
Author

AMorgaut commented Aug 7, 2024

Looks like Spectral was already listed in the YAML language section

It works but it means that people only looking at the Open API section won't find spectral but only speccy, while speccy looks to way less advanced and almost abandonned

specy spectral
Last commit 5 years ago 2 weeks ago
Last version date 2019-06 2024-04
Contributors 31 92
Used by (repos) 421 2.909
Used by (packages) 21 71
Number of commits 976 2001
Last version v0.11.0 v6.11.1
Watchers 28 33
Forks 78 233
Stars 823 2.400
License MIT Apache 2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant