Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
Swagger tools for documenting API's built on ASP.NET Core
Hi, I wont to use in my Dictionary with Enums. But, when I open my swagger page, i get this error: ``` fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1] An unhandled exception has occurred while...
The current `dotnet swagger` tool cannot run with .NET 7. It shows: ``` You must install or update .NET to run this application. App: /root/.nuget/packages/swashbuckle.aspnetcore.cli/6.4.0/tools/net6.0/any/dotnet-swagger.dll Architecture: x64 Framework: 'Microsoft.NETCore.App', version...
Observed in: Swashbuckle.AspNetCore 6.4.0 Nullability of (primitive) form parameters is not respected (i.e. misses `nullable: true`) in the generated schema. Can reproduce that by using a Controller in ASP.NET Core...
Related to https://github.com/dotnet/aspnetcore/issues/45265 and https://github.com/dotnet/aspnetcore/issues/45307 For scenarios where people provide an explicit schema definition in their `WithOpenApi` call, we should merge or favor that definition over the one generated by...
Swashbuckle version: 6.4.0 Dotnet version: 6.x **Issue** Happened after I updated from Swashbuckle v5.0.0 to v6.4.0. Generated OpenApi JSON removes numbers in tag of controller, but only if they are...
If I have a simple POST controller like: ```csharp [HttpPost()] public ActionResult Create([FromBody, BindRequired] TestDto testDto) { return testDto; } ``` where TestDto is defined as: ```csharp public record TestDto([property:...
@marcominerva reported an issue in https://github.com/dotnet/aspnetcore/issues/45307 wherein parameter filters are not applied to parameters in `OpenApiOperation`s sourced from metadata. I believe this happens for `ParameterFilter`s (and like `RequestBodyFilter`s) because these...
- add `codeql-analysis.yml` which automatically enables CodeQL code security and quality scanner. It executes on every push commit, PR, manually and every day at 8:00AM UTC. A scan check can...
- add `dependabot.yml` which automatically enables Dependabot's dependency versioning scanner and dependency update PRs bot by declaring dependency ecosystems and sources in the project. For dependency security vulnerabilities scanner and...
`text` tags are currently not replaced. The expected format for descriptions in OpenAPI/Swagger is markdown. Redoc does not generate a link for `text` but instead displays the inner text as-is....