Skip to content

Update OpenAPI code examples to .NET 10 #36195

@xC0dex

Description

@xC0dex

Description

Currently, the OpenAPI transformer code examples use APIs from Microsoft.OpenAPI v1.x. However, with the release of .NET 10, the dependency has been upgraded to v2.0.0. This update introduces several breaking changes, including renamed or removed properties, namespaces, and types.

These examples should be updated to .NET 10 to prevent confusion.

Page URL

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/openapi/customize-openapi?view=aspnetcore-10.0

Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/fundamentals/openapi/customize-openapi.md

Document ID

ea5fce3c-e38f-9531-b77a-3e9a5e8e30ce

Platform Id

126b754a-260a-3efc-a261-b0d72ad0d8ce

Article author

@captainsafia

Metadata

  • ID: ea5fce3c-e38f-9531-b77a-3e9a5e8e30ce
  • PlatformId: 126b754a-260a-3efc-a261-b0d72ad0d8ce
  • Service: aspnet-core
  • Sub-service: fundamentals

Related Issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions