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
One component $refing another does not work
The text was updated successfully, but these errors were encountered:
The linked PR generates ref definitions at all json paths and includes example in a client sample spec where one component $refs another component.
Sorry, something went wrong.
this it is working in the v2.0.0 release of openapi-json-schema-generator. That is where further development is being done on the python generator. Here is the definition of the component schema RefPet
RefPet: $ref: '#/components/schemas/Pet'
And here is the generated class
from petstore_api.components.schema import pet RefPet = pet.Pet
Successfully merging a pull request may close this issue.
Bug Report Checklist
Description
One component $refing another does not work
openapi-json-schema-generator version
OpenAPI declaration file content or url
Generation Details
Steps to reproduce
Related issues/PRs
Suggest a fix
The text was updated successfully, but these errors were encountered: