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 | --cleanto clean the result from methods and endpoints that don't have any defined schemas. Use this with the--no-responsesoption to clean emptygetschemas
Change
- Properties marked as
readOnlyare removed from request schemas. If the property is defined in therequiredarray, it will be removed as well. The property will remain untouched in responses. - Properties marked as
writeOnlyare removed from response schemas. If the property is defined in therequiredarray, it will be removed as well. The property will remain untouched in requests. - The option
merge-allofis removed. Merging is always applied.