Releases: microsoft/OpenAPI.NET
Releases · microsoft/OpenAPI.NET
v3.5.0
3.5.0 (2026-03-20)
Features
- library: add Extensions support for schema references in v3.1/v3.2; add SerializeAsV32 with loop detection (9b422bf)
Bug Fixes
- a bug where path parameter validation would fail if they contained forbidden JSON pointer characters (ef55b2c)
- a bug where path parameter validation would fail if they contained forbidden JSON pointer characters (4b3164a)
- double encoding of json pointer for invalid reference rule (b246cd0)
- encoding of special characters for JSON paths (4c757e1)
- library: do not emit unevaluatedProperties for non-object schemas (852fb4c)
- library: do not emit unevaluatedProperties for non-object schemas (19538aa)
- library: enforce spec-compliant $ref serialization; add Extensions support for schema references in v3.1/v3.2 (9bf61de)
- potential double encoding of paths (471a61a)
v2.7.1
2.7.1 (2026-03-20)
Bug Fixes
- a bug where path parameter validation would fail if they contained forbidden JSON pointer characters (2efd2b2)
- library: do not emit unevaluatedProperties for non-object schemas (28d614f)
- library: enforce spec-compliant $ref serialization; add Extensions support for schema references in v3.1/v3.2 (7640a8a)
v3.4.0
3.4.0 (2026-03-04)
Features
- library: preserve PatternProperties as x-jsonschema-patternProperties extension for OpenAPI v2/v3.0 serialization (d969fdc)
- library: Preserve PatternProperties via x-jsonschema-patternProperties extension for OpenAPI v2/v3.0 (16ab5e4)
- securityscheme: add oauth2MetadataUrl support (OpenAPI 3.2) (4509488)
Bug Fixes
- implement unevaluatedProperties as schema per JSON Schema 2020-12 (#2728) (7c13fb3)
- library: serialize additionalProperties schema in OpenAPI V2 (f3165fa)
- library: serialize additionalProperties schema in OpenAPI V2 documents (3d07756)
- optimize parsing V3.1 documents by reducing GetLocation method allocation on hot path(#2748) (f690681)
v2.7.0
2.7.0 (2026-03-05)
Features
- add UnevaluatedPropertiesSchema support to IOpenApiSchema (fb691d6)
- library: preserve PatternProperties as x-jsonschema-patternProperties extension for OpenAPI v2/v3.0 serialization (dd5085a)
Bug Fixes
- address PR feedback on UnevaluatedProperties implementation (80fc0f6)
- correct deserialization and test for UnevaluatedPropertiesSchema (a4d66fc)
- library: serialize additionalProperties schema in OpenAPI V2 (99b653c)
- library: serialize additionalProperties schema in OpenAPI V2 (cef7996)
- optimize parsing V3.1 documents by reducing GetLocation method allocation on hot path(#2748) (91e697b)
- optimize parsing V3.1 documents by reducing GetLocation method allocation on hot path(#2748) (06c58a5)