Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

Draft
stevenhurd wants to merge 1 commit intomainfrom
f/add_spectral_pre_commit_hook
Draft

feat: add openapi-lint pre-commit-hook#21
stevenhurd wants to merge 1 commit intomainfrom
f/add_spectral_pre_commit_hook

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