Releases: microsoft/OpenAPI.NET
Releases · microsoft/OpenAPI.NET
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
OpenApiAnytype fordouble,float, andlongnow works as expected. - Bug fix: Property is now serialized with
readonlybeingfalsewhen it is in therequiredlist 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
IOpenApiExtensioninterface to be used when creating a new custom extension type. - Enabled the validation feature. By using
OpenApiValidator, one can verify whether a givenOpenApiDocumentconforms to the specification based on the prescribed set of rules. More rules will be added in future releases.
v1.0.0-beta012
- Bug fix: Serializing and deserializing V2.0
formDataandbodyparameters - Bug fix: Deserializing V2.0
consumesproperty
v1.0.0-beta011
- Throwing
OpenApiUnsupportedSpecVersionExceptionwhen spec version in document is not recognized by Reader
v1.0.0-beta010
- Bug fixes: Capitalization of parameter location in V2 serialization, top-level component reference serialization
- Reader will set specification version on
OpenApiDiagnosticas a result of parsing
v1.0.0-beta009
- Support for OpenApi specificiation v3.0.1
- Recognize
formDataparameter when reading V2 documents
v1.0.0-beta008
v1.0.0-beta008