Skip to content

feat: add openapi-lint pre-commit-hook #21

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

stevenhurd
Copy link

No description provided.

description: Runs Spectral linting against OpenAPI specification files
args: [
lint,
spec/**/*.yaml,
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@turo/devops, if anyone has any suggestions, I'd really like the directory containing specs to not be specified here but by the repo that uses the pre-commit hook. I haven't yet figured out a way to do that.

@michaeljaltamirano
Copy link

Just leaving the comment here since the PR is still open: I have an RFC open that advocates adopting redocly for Swagger and OpenAPI linting. https://team-turo.atlassian.net/wiki/spaces/EN/pages/2828501164/RFC-252+Deprecate+node-types-dunlop+repo+turo+types-dunlop+package+in+favor+of+API+generation+from+dunlop-api + https://github.com/turo/dunlop-api/pull/136

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.

2 participants