instrumenta / instrumenta/openapi2jsonschema
Add option to generate schemas for request and response bodies
Open
- Dominant language
- Python
- Stars
- 248
- Forks
- 95
- PR merge metrics
- No merged PRs in 30d
Description
Currently JSON-Schemas are only generated for definitions in the `definitions` or `components/schemas` section. This is alright if your full request and response bodies are defined there, but that is not always the case in every OpenAPI spec. It would be nice if `paths///requestBody/content//schema>` and `paths///responses//content//schema>` could also be traversed.
The generated filenames will probably be long and ugly, but that is something I can live with.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.