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

25 get schemas from request and response bodies #26

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

zeusttu
Copy link

@zeusttu zeusttu commented May 3, 2019

Closes #25 and #20

Include schemas from:

paths/<path>/<httpmethod>/requestBody/content/<mimetype>/schema
paths/<path>/<httpmethod>/responses/<httpcode>/content/<mimetype>/schema

Closes instrumenta#25
@adamkitain
Copy link

Love this PR -- any reason not to merge it? Was looking for exactly this.

This was committed as a GitHub review suggestion.
Commit message suggested by Github:

Update openapi2jsonschema/util.py

Co-authored-by: Adam Kitain <[email protected]>
@Ton-tesseract
Copy link

This PR contains a the fix for the blocker issue #20 and #40
When will be merged? I am currently blocked because I don't own the swagger file so I cannot change entities names as a workaround

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.

Add option to generate schemas for request and response bodies
3 participants