Skip to content

Releases: microsoft/OpenAPI.NET

Breaking change fix

24 Jun 21:25
e59b568
Compare
Choose a tag to compare

An optional parameter on the OpenApiString constructor was causing a binary incompatibility with 1.1.4, This release fixes that issue.

Milestone 1.2

21 Jan 00:11
a45aaa0
Compare
Choose a tag to compare

This release contains a number of bugfixes and also introduces the ability to inline references while writing out OpenAPI descriptions. It also removes the data type mismatch validator from the default set of validation rules. This validator checked to ensure that the values in examples and schema defaults were compatible with the data types of the schema. This is not a requirement of either OpenAPI or JSON Schema and is particularly tricky to do when schemas are referenced. These validators can be added back by users if desired.

Maintenance release 1.1.4

15 Sep 18:27
578e587
Compare
Choose a tag to compare

Release contains items described in milestone 1.1.4

v1.1.3

19 Apr 01:17
5742db6
Compare
Choose a tag to compare
  • Enhance OpenAPI walker to visit references.
  • Add validation rule regarding the discriminator property
  • Correct the handling for the binary and byte data format.
  • Process the V2 produces property properly when it is specified in both the document scope and the operation scope, regardless of the order of appearance in the document.
  • Fix bugs: duplicate response causing error, null reference issue in a parameter without a schema, null should be allowed as a default when a schema allows nullable, make the writer culture-invariant

v1.1.0

19 Sep 22:06
Compare
Choose a tag to compare

See release notes for v1.1.0-preview.1 - v1.1.0-preview.4

v1.1.0-preview.4

18 Jul 19:25
55f333a
Compare
Choose a tag to compare
v1.1.0-preview.4 Pre-release
Pre-release
  • Fix for runtime expressions embedded in string literals
  • Fix parsing of V2 hosts with a port
  • Treat an empty array of schemes the same as no schemes property

v1.1.0-preview.3

18 Jul 19:20
085e3b4
Compare
Choose a tag to compare
v1.1.0-preview.3 Pre-release
Pre-release
  • Fixed extension parsers to be version sensitive
  • Added context dictionary to visitor
  • Fixed error handling for certain scenarios related to invalid YAML syntax.

v1.1.0-preview.2

08 Jun 00:49
abfc519
Compare
Choose a tag to compare
v1.1.0-preview.2 Pre-release
Pre-release
  • Merged fixes from 1.0 release into 1.1
  • Added validation to
  • Made Paths null by default to fix error reporting
  • Do not include default basePath in output.
  • Handle V2 import when produces comes after responses
  • Fix MakeServers for V2
  • Add settings parameter for BaseUrl
  • Add support for null to GetJsonCompatibleString
  • Output multiple examples in V2
  • Exposed Settings in IOpenApiWriter interface to allow access to selected version when writing extensions.

v1.0.1

07 Jun 19:18
d793955
Compare
Choose a tag to compare
  • Fixed issue with deserialization of V2 schema
  • Fixed failure to deserialize Example externalValue
  • Fixed deserialization of Schema Default value

Public release of v1.0.0

16 May 13:28
c94ef0f
Compare
Choose a tag to compare
  • Fixed potential security issue with validation regex