Releases: microsoft/OpenAPI.NET
Breaking change fix
An optional parameter on the OpenApiString constructor was causing a binary incompatibility with 1.1.4, This release fixes that issue.
Milestone 1.2
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
Release contains items described in milestone 1.1.4
v1.1.3
- Enhance OpenAPI walker to visit references.
- Add validation rule regarding the
discriminator
property - Correct the handling for the
binary
andbyte
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
See release notes for v1.1.0-preview.1 - v1.1.0-preview.4
v1.1.0-preview.4
- 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
- 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
- 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
- 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
- Fixed potential security issue with validation regex