We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Originally posted by onikolskyy February 9, 2022 For some purpose, I would like to parse only the components part of a swagger api spec.
components
However, when I use ResolvingParser('apischemas/schemas.yaml'), I get the exception
ResolvingParser('apischemas/schemas.yaml')
prance.ValidationError: ("'paths' is a required property [...]
Here's my schemas.yaml
schemas.yaml
openapi: '3.0.0' info: title: 'api' version: '0.2' components: schemas: ANALYSIS: $ref: "./schemas/common/analysis.yaml" LAB: $ref: "./schemas/LAB.yaml"^ FAB: $ref: "./schemas/FAB.yaml" OPS: $ref: "./schemas/OPS.yaml" ICD: $ref: "./schemas/ICD.yaml" FALL: $ref: "./schemas/FALL.yaml"
Is there a way to resolve only th components property?
The text was updated successfully, but these errors were encountered:
currently prance is designed to handle/resolve the full spec only
its not clear to me how to enable the subset
Sorry, something went wrong.
No branches or pull requests
Discussed in #125
Originally posted by onikolskyy February 9, 2022
For some purpose, I would like to parse only the
components
part of a swagger api spec.However, when I use
ResolvingParser('apischemas/schemas.yaml')
, I get the exceptionprance.ValidationError: ("'paths' is a required property [...]
Here's my
schemas.yaml
Is there a way to resolve only th components property?
The text was updated successfully, but these errors were encountered: