Skip to content

Releases: pb33f/libopenapi

v0.16.8

24 May 19:26
Compare
Choose a tag to compare

This release adds support to call the DisableRequiredCheck function on SchemaRenderer from the mock generator to allow rendering examples for all properties, regardless of their required status.

@martinsirbe

v0.16.7

17 May 21:24
Compare
Choose a tag to compare

Fixes a glitch where the spec format was not being set correctly when being parsed for 3.1. Also adds a small length check to prevent the node builder from throwing a panic with a mismatched index.

v0.16.6

11 May 18:53
Compare
Choose a tag to compare

Added MarshalJSON and MarshalJSONInline to base.Schema in high level model.

Addresses issue #289

Also handles error edge case with RenderAndReload on high level document

@khart-twilio @maboehm

v0.16.5

01 May 17:19
Compare
Choose a tag to compare
  • Adds support for rendering examples when they are nested in items (array) based schemas
  • Adds support for non-standard bigint and standard decimal formats when rendering schemas.
  • Adds better support for rendering single or multi examples.

v0.16.4

30 Apr 13:11
Compare
Choose a tag to compare

Fixes a regression in the index where examples were being indexed as schemas.

@TristanSpeakEasy

v0.16.3

29 Apr 16:03
Compare
Choose a tag to compare

Fixes a panic when mis-using a reference. No new features.

v0.16.2

22 Apr 23:21
Compare
Choose a tag to compare

This fixes an issue where the MediaType.Example field was being populated when it shouldn't.

It was basically searching down into the schema and other places as well to find an example where it should have only been searching the top level node

@TristanSpeakEasy

v0.16.1

21 Apr 13:12
Compare
Choose a tag to compare

Fixes a couple of bugs reported in vacuum

v0.16.0

19 Apr 10:49
Compare
Choose a tag to compare

No new features, just bugfixes with a very small breaking change (hence the minor bump)

Fixes for the following:

The high/v3/Document struct method RenderJSON now returns an error along with the bytes, this is a very small but breaking change.

v0.15.15

08 Apr 10:35
Compare
Choose a tag to compare

Fixed floating point rendering issue as documented here:

#270

@emilien-puget