Releases: mikunn/openapi2schema
Releases · mikunn/openapi2schema
v0.5.0
v0.4.0
Add sync version. The CLI doesn't used this, but you can define async: false
when using the library to get the result directly without needing a callback.
Thanks @Zerogiven!
v0.3.2
v0.3.1
v0.3.0
New
- Add option
-c | --clean
to clean the result from methods and endpoints that don't have any defined schemas. Use this with the--no-responses
option to clean emptyget
schemas
Change
- Properties marked as
readOnly
are removed from request schemas. If the property is defined in therequired
array, it will be removed as well. The property will remain untouched in responses. - Properties marked as
writeOnly
are removed from response schemas. If the property is defined in therequired
array, it will be removed as well. The property will remain untouched in requests. - The option
merge-allof
is removed. Merging is always applied.