Releases: microsoft/OpenAPI.NET
Releases · microsoft/OpenAPI.NET
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
v1.0.0-beta17
- Performance improvements for validation and reference resolution
- Fixed issue relating to writing DateTime values
- Change OpenAPI Schema Required property to prevent duplicate values
- Fixed serialization issue for Operation Tags
- Updated nuget package logo
v1.0.0-beta016
- Handle downcasting complex types in parameters for V2 export
- Introduction of OpenApiValidatorError and OpenApiReaderError
- Added RuleName to OpenApiValidatorError and removed ErrorReason
- Schema default is now parses as OpenApiAny instead of OpenApiString and so preserves typing information
- V2 Header objects now render schema properties correctly
- Casing of enum values has been corrected
- CollectionFormat is now serialized out in V2
- Response bodies that have no schema are now rendered out and therefore correctly generate produces array in V2
- ExternalDocs in Tags were not being parsed in either V2 or V3. This has been fixed.
v1.0.0-beta015
- Add smoke tests based on Apis.guru
- Allow relative URIs as per spec.
- Limit to allowed wildcard response statuses
- Fix parameter examples to be a map, not a list
- Fixed security requirement resolution
- Fixed resolution of parameter references
- Fixed issue with additionalProperties to allow it to be Boolean or schema
v1.0.0-beta014
- Bug fix: Serializing the
OpenApiAny
type fordouble
,float
, andlong
now works as expected. - Bug fix: Property is now serialized with
readonly
beingfalse
when it is in therequired
list for V2 to comply with the specification. - References are now loaded in a two-step process. First, the reference string is loaded in as is. Then, the reference resolver walks through the DOM to resolve the references. This allows circular references to be properly resolved.
v1.0.0-beta013
- Added
IOpenApiExtension
interface to be used when creating a new custom extension type. - Enabled the validation feature. By using
OpenApiValidator
, one can verify whether a givenOpenApiDocument
conforms to the specification based on the prescribed set of rules. More rules will be added in future releases.