forked from instrumenta/openapi2jsonschema
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to include request and response body schemas
Include schemas from: paths/<path>/<httpmethod>/requestBody/content/<mimetype>/schema paths/<path>/<httpmethod>/responses/<httpcode>/content/<mimetype>/schema Closes instrumenta#25 Do not downcase filenames Closes instrumenta#20 Move new functionality to separate function Make "content" key in body definition optional This was committed as a GitHub review suggestion. Commit message suggested by Github: Update openapi2jsonschema/util.py Co-authored-by: Adam Kitain <[email protected]>
- Loading branch information
Showing
2 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters