Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
Swagger tools for documenting API's built on ASP.NET Core
This pull request fixes (reverts) the placement of the discriminator to the polymorphic oneOf element. Fixes #2052. This pull request also fixes #2514 and the bug where enabling UseOneOfForPolymorphism forces...
Hi everyone! Filing this issue because I'd like to hear some perspectives on something I'm reasoning through in the `Microsoft.AspNetCore.OpenApi` implementation. In .NET 7, we added support for the `WithOpenApi`...
I have an ASP.NET Core Web API that I build in Azure Devops. I have to extract the swagger during the build. I therefore issue the following command: `- task:...
### Describe the bug The left side is generated through swagger cli with version 6.5.0 of the library, and the right sight is generated after updating to 6.6.2:  When...
### Describe the bug Original bug created in Swagger UI - https://github.com/swagger-api/swagger-ui/issues/10078 Having an `/api/hello/name={name}` API method declared, I see Swagger UI with required `name` input. But the actual value...
## Overview The implementation of [SwaggerGenerator.cs](../blob/master/src/Swashbuckle.AspNetCore.SwaggerGen/Generator/SwaggerGenerator.cs) should consider all relevant metadata provided by API explorers. The following information is not currently mapped in all **NonBodyParameter** scenarios: * **Required** - this...
The README is getting to be pretty long and I noticed that a lot of questions I've seen come up in the issues list might be self-answered if there was...
Use `HttpMethods.IsGet()` instead of a string comparison.
ASP.NET Core has a new endpoint routing API which is being used by MVC and other middleware to register routes in ASP.NET Core. Previously every middleware which needed to do...
### swashbuckle.Aspnetcore cli not able to recognize private nuget feed reference and failed to resolve, not generating swagger.json file **CLI Command:** `dotnet swagger _tofile projfolder\bin\Debug\netcoreapp3.1\myassembly.dll "v1 1.0.xml"` **Following error occurs...