manchenkoff / openapi3-parser

OpenAPI 3 parser to use a specification inside of the code in your projects
https://pypi.org/project/openapi3-parser/
MIT License
61 stars 33 forks source link

Parse schema names instead of model only #35

Open manchenkoff opened 2 years ago

manchenkoff commented 2 years ago

The current version of prance resolver could not return schema names when it resolves ref links. In order to solve that problem there are several solutions:

  1. Make some changes to prance library
  2. Use another package
  3. Write a custom resolver for that functionality
manchenkoff commented 1 year ago

@yoyossef also suggested adding ref as a field of schema (see #48)

emelymw commented 5 months ago

Is there a workaround to currently get the schema name of a ref ?

manchenkoff commented 5 months ago

Hey @emelymw, nope, currently there is no workaround since the initial parsing is out of the control of this package.