Skip to content

Update dependency Microsoft.OpenApi to v2#1634

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/microsoft.openapi-2.x
Open

Update dependency Microsoft.OpenApi to v2#1634
renovate[bot] wants to merge 1 commit intomainfrom
renovate/microsoft.openapi-2.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Jan 15, 2026

This PR contains the following updates:

Package Change Age Confidence
Microsoft.OpenApi 1.6.282.7.2 age confidence

Release Notes

Microsoft/OpenAPI.NET (Microsoft.OpenApi)

v2.7.2

Bug Fixes
  • security requirement reference serialization (0945eec)

v2.7.1

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)

v2.7.0

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)

v2.6.1

Bug Fixes
  • broken binary compatibility due to interface changes in previous version (06f2b85)

v2.6.0

Features

v2.5.0

Features
  • hidi validate command now logs warnings (1d3d085)
  • hidi validate command now logs warnings (18ed5ac)
Bug Fixes
  • discriminator property validation fails any/allOf cases when it shouldn't (ff6e411)
  • discriminator property validation fails any/allOf cases when it shouldn't (7def73d)

v2.4.3

v2.4.2

Bug Fixes
  • wrap extension parser calls in try-catch to ensure correct error pointers (63cf4a3)
  • wrap extension parser calls in try-catch to ensure correct error pointers (458cabe)

v2.4.1

Bug Fixes
  • schema: always serialize additionalProperties: false (6651c36)
  • schema: always serialize additionalProperties: false (e36fc95)

v2.4.0

Features
  • Add type: "null" downcasting when in oneOf and anyOf for OpenAPI v3 (782cf8d)

v2.3.12

Bug Fixes
  • load JSON documents that are preceded by multiple whitespace (640e59a)
  • non-seekable json streams would fail to load as a document (76b0159)
  • non-seekable json streams would fail to load as a document (2436d73)
  • reading streams in an asp.net context would cause async exceptions (f9e5248)

v2.3.11

Bug Fixes
  • additional properties serialization should not emit a schema in v2 (946cba9)
  • additional properties serialization should not emit a schema in v2 fix: additional properties serialization should not emit booleans in v3.1+ (275dd9d)
  • additional properties serialization should not emit booleans in v3.1+ (946cba9)

v2.3.10

  • empty strings should be quoted in yaml (e919b33)
  • empty strings should be quoted in yaml (0ca10db)

v2.3.9

Bug Fixes
  • a bug where null sentinel value would appear in YAML documents (0e864c7)
  • a bug where null sentinel value would appear in YAML documents (15618e1)

v2.3.8

Bug Fixes
  • an issue where numeric property names would be missing quotes in yaml conversion (da43c98)
  • an issue where numeric property names would be missing quotes in yaml conversion (234504c)
  • quote property names in yaml that match boolean values (39a9f41)
  • yaml blocks and line returns (b053848)
  • yaml multi-line literals maintain their lines (558a1ce)

v2.3.7

Bug Fixes
  • adds a null value sentinel to enable roundtrip serializations of JsonNode typed properties (337c6eb)
  • adds a null value sentinel to enable roundtrip serializations of JsonNode typed properties (63b2b98)
  • fixes a bug where yaml null values would end up as a string "null" during roundtrip serialization (6e62de2)
  • fixes a bug where yaml null values would end up as a string "null" during roundtrip serialization (994184b)
  • YamlConverter adding extra quotes to string values when converting from JSON to YAML (ccfebc8)
Performance Improvements
  • do not duplicate nodes when indexing (dbbbf13)
  • only initialize map node nodes on demand (bdb5264)
  • reduce allocations in mapnode (f58aad2)
  • removes the lazy initialization since the node is always enumerated (1c96521)
  • switches to lazy instantiation (d3c758b)
  • use deep equals for comparison to reduce allocations (6ce3214)

v2.3.6

Bug Fixes
  • a bug where empty collections would not be serialized for default values (4c4d257)

v2.3.5

Bug Fixes
  • use settings for terse output in serialization extension methods (246039b)
  • use settings for terse output in serialization extension methods (8b91278)

v2.3.4

Bug Fixes
  • Improve server creation and URL handling logic to maintain port (3e6ee80)
  • missing deserialization for header content property in 3.1 and 3.0 (717f154)
  • missing deserialization for header content property in 3.1 and 3.0 (0fdfae1)

v2.3.3

Bug Fixes
  • typo in allowReserved property name for deserialization (1633453)
  • typo in allowReserved property name for deserialization (f7e34be)

v2.3.2

Bug Fixes
  • Fix URL processing in InternalLoad method would not detect the filename/scheme properly in some scenarios (d93689c)
  • OpenApiEncoding explode property serialization defaults with form style (ae03eab)

v2.3.1

Bug Fixes
  • load JSON documents that are preceded by multiple whitespace (640e59a)
  • non-seekable json streams would fail to load as a document (76b0159)
  • non-seekable json streams would fail to load as a document (2436d73)
  • reading streams in an asp.net context would cause async exceptions (f9e5248)

v2.3.0

Features
  • adds the detected format as part of the diagnostic (#​2482) (59d7c81)
  • adds the detected format to the diagnostics (59d7c81)

v2.2.0

Features
  • add Validation Rule for path operations to not have a request body (d101fc3)
Bug Fixes
  • missing examples when one example is with an empty array. (cb1c496)

v2.1.0

Features
  • adds a default validation rule for unresolved references (90b3966)
Bug Fixes
  • Improve OpenApiWalker performance (a007c03)
  • Validate schema property is not null (3326022)

v2.0.1

Bug Fixes
  • add missing disposable for stream (9318c00)
  • add missing disposable for stream (0c1ccbd)

v2.0.0

Features
  • General availability of version 2 with support for OpenAPI 3.1!!! 🎉🎉🎉 (a02d74c)
  • General availability of version 2 with support for OpenAPI 3.1!!! 🎉🎉🎉 (97824e5)
Bug Fixes
  • inconsistent visibility of properties in current keys class (cb9772f)
  • removes extraneous default value constant (bf8d0b6)
  • removes extraneous default value constant (b6eb46e)
  • removes loop methods from parsing context as its available in loop detector instead (de3531b)
  • removes loop methods from parsing context as its available in loop detector instead (18a8cbe)
  • removes public mermaid types that were not usuable (ef7ae33)
  • removes public mermaid types that were not usuable (a26096c)
  • removes redundant marker interface (5a055f9)
  • removes redundant marker interface (74a9f08)
  • switches to a getter for API consistency (7975082)
  • switches to a getter for API consistency (0091f1c)
  • unconsistent visibility of properties in current keys class (d0c20ab)
  • visibility of extension methods (1e9112a)
  • visibility of extension methods (50c8e34)

v1.6.29

Bug Fixes
  • hidi: update Microsoft.OpenApi.OData to 1.7.6 (11ba851)
  • hidi: update Microsoft.OpenApi.OData to 1.7.6 (f596327), closes #​2813

Configuration

📅 Schedule: (in timezone Europe/Oslo)

  • Branch creation
    • "before 07:00 on Thursday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependency Label Pull requests with dependency updates. Used when generation releasenotes label Jan 15, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Jan 15, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

  • 🔍 Trigger a full review

Comment @coderabbitai help to get the list of available commands and usage tips.

@ivarne
Copy link
Copy Markdown
Member

ivarne commented Jan 15, 2026

Det er en del endringer i Microsoft.OpenApi fra versjon 1 til 2.

Problemet er at vi bruker den i CustomOpenApiController og SwaggerGen bruker pakken, og de må oppdateres koordinert.

@renovate renovate bot force-pushed the renovate/microsoft.openapi-2.x branch 3 times, most recently from 0235cc2 to 5def1a9 Compare January 22, 2026 22:32
@renovate renovate bot force-pushed the renovate/microsoft.openapi-2.x branch from 5def1a9 to 713d11c Compare January 25, 2026 22:46
@renovate renovate bot force-pushed the renovate/microsoft.openapi-2.x branch 2 times, most recently from 45bb284 to dd7717f Compare February 3, 2026 12:34
@bjorntore bjorntore added the backport-ignore This PR is a new feature and should not be cherry-picked onto release branches label Feb 3, 2026
@renovate renovate bot force-pushed the renovate/microsoft.openapi-2.x branch from dd7717f to 40d8229 Compare February 12, 2026 12:34
@renovate renovate bot force-pushed the renovate/microsoft.openapi-2.x branch 2 times, most recently from f90bb55 to c349dca Compare February 24, 2026 16:10
@renovate renovate bot force-pushed the renovate/microsoft.openapi-2.x branch 2 times, most recently from 89c9566 to 7039128 Compare March 13, 2026 12:39
@renovate renovate bot force-pushed the renovate/microsoft.openapi-2.x branch from 7039128 to a172c1a Compare March 23, 2026 19:13
@renovate renovate bot force-pushed the renovate/microsoft.openapi-2.x branch from a172c1a to 6018020 Compare April 1, 2026 15:51
@renovate renovate bot force-pushed the renovate/microsoft.openapi-2.x branch from 6018020 to a2b6b53 Compare April 4, 2026 18:13
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 4, 2026

@renovate renovate bot changed the title chore(deps): update dependency microsoft.openapi to v2 Update dependency Microsoft.OpenApi to v2 Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-ignore This PR is a new feature and should not be cherry-picked onto release branches dependency Label Pull requests with dependency updates. Used when generation releasenotes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants