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

Fix marshmallow OpenAPI 3.x.x support. #513

Merged
merged 5 commits into from
May 10, 2023

Conversation

jbenua
Copy link

@jbenua jbenua commented Dec 20, 2021

There were some hardcoded variables in flasgger/marshmallow_apispec.py so it won't work with openapi 3.x.x standart correctly even if version was specified for Swagger object and just generated wrong $refs (e.g. #/definitions/... instead of #/components/schemas/..., though the schemas themselves were placed correctly in components/schemas).

Add version check, improve `$ref` paths.
@jbenua jbenua force-pushed the marshmallow-oas3-support branch 3 times, most recently from 7a2c979 to d8f3f5f Compare December 20, 2021 13:15
@billyrrr billyrrr changed the base branch from master to fix/513 May 10, 2023 18:41
@billyrrr
Copy link
Member

Thank you. I will test it in a separate branch first.

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 this pull request may close these issues.

None yet

2 participants