Skip to content

Bump Microsoft.OpenApi from 2.4.1 to 3.5.2#111

Closed
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/nuget/backend/src/Api/main/Microsoft.OpenApi-3.5.2
Closed

Bump Microsoft.OpenApi from 2.4.1 to 3.5.2#111
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/nuget/backend/src/Api/main/Microsoft.OpenApi-3.5.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 15, 2026

Updated Microsoft.OpenApi from 2.4.1 to 3.5.2.

Release notes

Sourced from Microsoft.OpenApi's releases.

3.5.2

3.5.2 (2026-04-14)

Bug Fixes

  • hidi: update Microsoft.OpenApi.OData to 3.2.1 (b0a68fb)
  • hidi: update Microsoft.OpenApi.OData to 3.2.1 (8c22ab2), closes #​2811

3.5.1

3.5.1 (2026-03-31)

Bug Fixes

  • security scheme references serialization (a5acb89)

3.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)

3.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)

3.3.1

3.3.1 (2026-01-22)

Features

Bug Fixes

  • broken binary compatibility due to interface changes in previous version (d96bba7)

3.3.0

3.3.0 (2026-01-21)

Features

  • models: add shared Content interface (9e13b25)
  • models: add shared Content interface (#​2695) (9e13b25)
  • models: support mutualTLS security scheme (a4efdfe)

3.2.0

3.2.0 (2026-01-19)

Features

  • hidi validate command now logs warnings (76a3c0f)
  • hidi validate command now logs warnings (62e7d56)

Bug Fixes

  • discriminator property validation fails any/allOf cases when it shouldn't (fb6cecc)
  • discriminator property validation fails any/allOf cases when it shouldn't (a8fb81c)

3.1.3

3.1.3 (2026-01-16)

Bug Fixes

  • Support custom tag ordering (008576c)
  • Support custom tag ordering (7610d07)

3.1.2

3.1.2 (2026-01-06)

Bug Fixes

  • correct error pointer when extension parser throws OpenApiException (43c75a9)
  • wrap extension parser calls in try-catch to ensure correct error pointers (50b44aa)

3.1.1

3.1.1 (2025-12-18)

Bug Fixes

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

3.1.0

3.1.0 (2025-12-17)

Features

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

3.0.3

3.0.3 (2025-12-16)

Bug Fixes

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

3.0.2

3.0.2 (2025-12-08)

Bug Fixes

  • additional properties serialization should not emit a schema in v2 (946cba9)
  • additional properties serialization should not emit booleans in v3.1+ (946cba9)

3.0.1

3.0.1 (2025-11-17)

Bug Fixes

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

3.0.0

3.0.0 (2025-11-11)

⚠ BREAKING CHANGES

  • adds support for OpenAPI 3.2.0

Note: Please refer to the upgrade guide for a detailed description of the breaking changes.

Note: ASP.net users should remain on version 1.X for ASP.net < 10, and version 2.X for ASP.net 10, this new major version will be implemented in a future version of ASP.net, more information

Features

  • adds support for OpenAPI 3.2.0 (765a8dd)

Special thanks

2.7.3

2.7.3 (2026-04-14)

Bug Fixes

  • hidi: update Microsoft.OpenApi.OData to 2.2.1 (1e01cd5)
  • hidi: update Microsoft.OpenApi.OData to 2.2.1 (c890703), closes #​2812

2.7.2

2.7.2 (2026-03-31)

Bug Fixes

  • security requirement reference serialization (0945eec)

2.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)

2.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)

2.6.1

2.6.1 (2026-01-22)

Bug Fixes

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

2.6.0

2.6.0 (2026-01-21)

Features

2.5.0

2.5.0 (2026-01-19)

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)

2.4.3

2.4.3 (2026-01-16)

Bug Fixes

  • Support custom tag ordering (008576c)
  • Support custom tag ordering (7610d07)

2.4.2

2.4.2 (2025-12-22)

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)

Commits viewable in compare view.

@dependabot dependabot Bot requested a review from hwinther as a code owner April 15, 2026 16:46
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Apr 15, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 15, 2026

Dotnet build status (ClutterStock.slnx)

❌ The following build errors must be fixed:

  • ❌ backend/src/Api/Filters/GlobalResponsesOperationFilter.cs(18,40): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.OpenApiMediaType>' to 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.IOpenApiMediaType>'. An explicit conversion exists (are you missing a cast?) [backend/src/Api/Api.csproj]
  • ❌ backend/src/Api/obj/Release/net10.0/Microsoft.AspNetCore.OpenApi.SourceGenerators/Microsoft.AspNetCore.OpenApi.SourceGenerators.XmlCommentGenerator/OpenApiXmlCommentSupport.generated.cs(483,41): error CS0200: Property or indexer 'IOpenApiMediaType.Example' cannot be assigned to -- it is read only [backend/src/Api/Api.csproj]
  • ❌ backend/src/Api/obj/Release/net10.0/Microsoft.AspNetCore.OpenApi.SourceGenerators/Microsoft.AspNetCore.OpenApi.SourceGenerators.XmlCommentGenerator/OpenApiXmlCommentSupport.generated.cs(545,41): error CS0200: Property or indexer 'IOpenApiMediaType.Example' cannot be assigned to -- it is read only [backend/src/Api/Api.csproj]
  • ❌ backend/src/Api/Filters/GlobalResponsesOperationFilter.cs(18,40): error CS0266: Cannot implicitly convert type 'System.Collections.Generic.Dictionary<string, Microsoft.OpenApi.OpenApiMediaType>' to 'System.Collections.Generic.IDictionary<string, Microsoft.OpenApi.IOpenApiMediaType>'. An explicit conversion exists (are you missing a cast?) [backend/src/Api/Api.csproj]
  • ❌ backend/src/Api/obj/Release/net10.0/Microsoft.AspNetCore.OpenApi.SourceGenerators/Microsoft.AspNetCore.OpenApi.SourceGenerators.XmlCommentGenerator/OpenApiXmlCommentSupport.generated.cs(483,41): error CS0200: Property or indexer 'IOpenApiMediaType.Example' cannot be assigned to -- it is read only [backend/src/Api/Api.csproj]
  • ❌ backend/src/Api/obj/Release/net10.0/Microsoft.AspNetCore.OpenApi.SourceGenerators/Microsoft.AspNetCore.OpenApi.SourceGenerators.XmlCommentGenerator/OpenApiXmlCommentSupport.generated.cs(545,41): error CS0200: Property or indexer 'IOpenApiMediaType.Example' cannot be assigned to -- it is read only [backend/src/Api/Api.csproj]

@dependabot dependabot Bot force-pushed the dependabot/nuget/backend/src/Api/main/Microsoft.OpenApi-3.5.2 branch 2 times, most recently from aea8e98 to 0c719b7 Compare April 18, 2026 20:39
---
updated-dependencies:
- dependency-name: Microsoft.OpenApi
  dependency-version: 3.5.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/nuget/backend/src/Api/main/Microsoft.OpenApi-3.5.2 branch from 5c7c58c to af8ce7c Compare April 18, 2026 20:41
@github-actions
Copy link
Copy Markdown
Contributor

Stale pull request message

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 27, 2026

Looks like Microsoft.OpenApi is updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Apr 27, 2026
@dependabot dependabot Bot deleted the dependabot/nuget/backend/src/Api/main/Microsoft.OpenApi-3.5.2 branch April 27, 2026 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code no-pr-activity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Microsoft.OpenApi.OData to 2.2.1 on support/v2 (OpenAPI 3.1) Update Microsoft.OpenApi.OData to 3.2.1 on main (OpenAPI 3.2)

1 participant