-
Notifications
You must be signed in to change notification settings - Fork 89
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
chore: add validation for the OpenAPI specs to GitHub Actions #726
Conversation
65bf293
to
70cc388
Compare
70cc388
to
ecae287
Compare
@adrianhopebailie should the linting check apply to both the id-provider.yaml file as well as the resource-server.yaml? |
e4b42b2
to
c2f0bc8
Compare
echo "{\"extends\":[\"spectral:oas\",\"spectral:asyncapi\"]}" >> .spectral.json | ||
- name: Validate Open API specs | ||
run: | | ||
npx @stoplight/spectral-cli lint ./packages/auth/openapi/*-server.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the linting check apply to both the id-provider.yaml file as well as the resource-server.yaml?
yes
@@ -99,7 +99,7 @@ paths: | |||
type: object | |||
properties: | |||
access: | |||
$ref: ./schemas.yaml#/access | |||
$ref: ./schemas.yaml#/components/schemas/access |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heads up, this is overlapping with:
e30ec49
to
c29ba18
Compare
Changes proposed in this pull request
Context
Checklist
fixes #number