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

v3: OpenAPI validation issues #67

Open
apd-bbrewington opened this issue Nov 13, 2024 · 2 comments · May be fixed by #68
Open

v3: OpenAPI validation issues #67

apd-bbrewington opened this issue Nov 13, 2024 · 2 comments · May be fixed by #68

Comments

@apd-bbrewington
Copy link

I ran Spectral locally via:

curl -O https://raw.githubusercontent.com/dbt-labs/dbt-cloud-openapi-spec/c019e7548b0537abe258492c7ddb4590d041847a/openapi-v3.yaml
npm install -g @stoplight/spectral-cli
echo 'extends: ["spectral:oas"]' > .spectral.yaml
spectral lint openapi-v3.yaml --ruleset .spectral.yaml > lint_results.txt

Results summary: ✖ 370 problems (29 errors, 341 warnings, 0 infos, 0 hints)

Full results: lint_results.txt

(Attaching as file: GitHub didn't let me include the text b/c 65536 character limit)

@apd-bbrewington
Copy link
Author

Glad to attempt a fix & submit a PR, just wanted to share the issue details along to start

@apd-bbrewington apd-bbrewington linked a pull request Nov 13, 2024 that will close this issue
@apd-bbrewington
Copy link
Author

Note, the PR I just submitted only addresses the 29 errors. Didn't do anything with the 341 warnings, assuming some of those might have been style choices

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 a pull request may close this issue.

1 participant