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 MarshmallowPlugin.resolve_schema for OAS3 content without schema #443

Merged
merged 1 commit into from May 2, 2019

Conversation

@lafrech
Copy link
Member

commented May 1, 2019

https://swagger.io/specification/#mediaTypeObject

schema is not required, so there can be content without schema. This PR fixes this use case (and reworks the loop using itervalues).

@lafrech lafrech merged commit 5f790e9 into dev May 2, 2019

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@lafrech lafrech deleted the fix_ma_plugin_content_without_schema branch May 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.