You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[OpenAPI] Duplicated object definitions in openapi spec #62154
When using two classes as result from minimal api, that are using same class, openapi definition contains two copies of the object for example: WeatherForecast and WeatherForecast2.
Activity
captainsafia commentedon Jul 31, 2025
Fixed in .NET 10.
mikernet commentedon Aug 18, 2025
Is this getting backported to .net9? I'm still getting duplicates,
captainsafia commentedon Aug 18, 2025
@mikernet Unfortunately, these changes can't be backported since they relied on bug fixes in a new major version of the
Microsoft.OpenApipackage. :/