Skip to content

Update Microsoft.OpenApi packages to 2.9.0 from OpenAPI.NET PR #2927#67587

Closed
Youssef1313 with Copilot wants to merge 2 commits into
release/10.0from
copilot/update-openapi-package-to-local-version
Closed

Update Microsoft.OpenApi packages to 2.9.0 from OpenAPI.NET PR #2927#67587
Youssef1313 with Copilot wants to merge 2 commits into
release/10.0from
copilot/update-openapi-package-to-local-version

Conversation

Copilot AI commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Bumps Microsoft.OpenApi and Microsoft.OpenApi.YamlReader from 2.0.0 to 2.9.0, built from the fix/null-enums-to-v2 branch (PR microsoft/OpenAPI.NET#2927), which fixes nullable enum serialization in OpenAPI 3.0 output.

Description

  • eng/Versions.props: MicrosoftOpenApiVersion and MicrosoftOpenApiYamlReaderVersion 2.0.02.9.0
  • NuGet.config: adds local-packages relative feed for the locally built nupkgs
  • local-packages/: Microsoft.OpenApi.2.9.0.nupkg + Microsoft.OpenApi.YamlReader.2.9.0.nupkg (temporary; to be replaced by official NuGet release once upstream PR merges)
  • Snapshot fix (schemas-by-ref, OpenAPI 3.0): nullable types are now serialized as type + nullable: true instead of anyOf: [{nullable: true}, {type schema}], which is more spec-compliant

All OpenAPI tests pass: 790 (main), 18 (source generators), 3 (build).

Customer Impact

Picks up the upstream fix for incorrect nullable enum serialization when targeting OpenAPI 3.0 output.

Regression?

  • Yes
  • No

Risk

  • High
  • Medium
  • Low

Dependency version bump with one snapshot update. No production logic changes in this repo.

Verification

  • Manual (required)
  • Automated

Packaging changes reviewed?

  • Yes
  • No
  • N/A

When servicing release/2.1

  • Make necessary changes in eng/PatchConfig.props

Copilot AI and others added 2 commits July 3, 2026 15:02
Co-authored-by: Youssef1313 <31348972+Youssef1313@users.noreply.github.com>
Co-authored-by: Youssef1313 <31348972+Youssef1313@users.noreply.github.com>
Copilot AI changed the title Update Microsoft.OpenApi packages to 2.9.0 (from OpenAPI.NET PR #2927) Update Microsoft.OpenApi packages to 2.9.0 from OpenAPI.NET PR #2927 Jul 3, 2026
Copilot AI requested a review from Youssef1313 July 3, 2026 15:04
@Youssef1313 Youssef1313 closed this Jul 3, 2026
@Youssef1313 Youssef1313 deleted the copilot/update-openapi-package-to-local-version branch July 3, 2026 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants