Releases: faradayio/openapi-interfaces
Releases · faradayio/openapi-interfaces
0.4.0
Changed
--avoid-type-null
is now deprecated, and acts as an alias for--use-nullable-for-merge-patch
. This flag now generates complete OpenAPI 3.0-compatible MergePatch types using a clever hack based onnullable: true
andoneOf:
. It also now sets the file version number toopenapi: 3.0.0
when used, because 3.1 does not supportnullable: true
. Thank you to @hanakslr!
0.3.0
Added
- Stable release. See
CHANGELOG.md
for details of fixes and features since 0.2.1.
Changed
- See the "Changed" section in v0.2.2-beta.4. This should only affect people using
discriminator
andoneOf
interfaces.
0.3.0-rc.3
Fixed
- Include the discriminator in
Put
types, as originally planned (#31).
0.3.0-rc.2
Added
- Fix bug where we generated spurious
type: ~
entries for certain schema
types usingoneOf
.
0.3.0-rc.1
Added
- Binaries for Linux and Mac systems (#27).
- Allow including definitions from external files using
$includeFiles
(#24). Seeexamples/include_files/
for an example of how this works. Start frombase.yml
.
Changed
- See the "Changed" section in v0.2.2-beta.4. This should only affect people using
discriminator
andoneOf
interfaces.BREAKING: Completely overhaul how we handle
oneOf
interfaces and discriminators (#18). This work is ongoing and not yet fully documented, but you can find a working example inexamples/oneof_example.yml
. This will require changing existing YAML files to use the new, TypeScript-like style. However, this feature is still incomplete. For ongoing discussion, see (#26).
Fixed
- Improved error messages in many cases (#28).