Skip to content

[Bug]: Using latest version of Swashbuckle, OpenAPI documentation is incorrect when using custom TryParse() binding with Minimal APIs #3105

@marcominerva

Description

@marcominerva

Describe the bug

Using latest versions of Swashbuckle (from 6.7.0 to the last one) with .NET 8.0.10, I have the same issue described in dotnet/aspnetcore#36412. If I revert to Swashbuckle.AspNetCore 6.6.2, everything works as expected.

Steps to reproduce

Use Swashbuckle.AspNetCore 6.7.0 or later and try the code at dotnet/aspnetcore#36412.

Swashbuckle.AspNetCore version

6.7.0 or later

.NET Version

8.0.403

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions