Skip to content

Releases: faradayio/openapi-interfaces

0.4.0

16 Jun 19:15
Compare
Choose a tag to compare

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 on nullable: true and oneOf:. It also now sets the file version number to openapi: 3.0.0 when used, because 3.1 does not support nullable: true. Thank you to @hanakslr!

0.3.0

13 Jun 13:32
Compare
Choose a tag to compare

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 and oneOf interfaces.

0.3.0-rc.3

10 Jun 10:14
Compare
Choose a tag to compare

Fixed

  • Include the discriminator in Put types, as originally planned (#31).

0.3.0-rc.2

09 Jun 16:07
Compare
Choose a tag to compare

Added

  • Fix bug where we generated spurious type: ~ entries for certain schema
    types using oneOf.

0.3.0-rc.1

08 Jun 21:28
Compare
Choose a tag to compare

Added

  • Binaries for Linux and Mac systems (#27).
  • Allow including definitions from external files using $includeFiles (#24). See examples/include_files/ for an example of how this works. Start from base.yml.

Changed

  • See the "Changed" section in v0.2.2-beta.4. This should only affect people using discriminator and oneOf 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 in examples/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).