Swashbuckle.AspNetCore
Swashbuckle.AspNetCore copied to clipboard
Swagger tools for documenting API's built on ASP.NET Core
**Issue** The `[AsParameters]` attribute is not generating the correct type of `decimal` when using Swashbuckle to generate a WebApi. It generates a `string`. When a decimal type is used on...
Add GitHub Actions workflows to automatically: - Create a draft release with release notes ready to publish a tag and kick off the NuGet publish process. - Bump the version,...
I'm using: - .NET 6 - Swahbuckle.AspNetCore 6.3.0 I wonder how can I add to open api information about `content-type` which is different for each response. - response 200 -...
- Do not generate schema models for `Stream` and `PipeReader`. - Only allocate the array once, rather than on every call. - Fix warning by removing unused parameter from private...
Update to the latest release of Swagger UI. Resolves #2789. Need to manually check it looks OK before moving out of draft.
We currently ship swagger-ui-dist v4.15.5: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/blob/9e779961e213a1da82d6c40b03ed05acc4c0e5ff/src/Swashbuckle.AspNetCore.SwaggerUI/package.json#L6 We should upgrade to the latest v5 release (at the time of writing, [5.15.1](https://www.npmjs.com/package/swagger-ui-dist)).
Please see this stackoverflow post: https://stackoverflow.com/questions/55452461/a-list-of-guids-is-empty-when-passed-into-a-model-which-is-used-by-fromform-in A short summary: When using the default swagger configuration with a newly created ASP.NET Core 2.2 project and the following code, a `[FromForm]` model...
- Add support for .NET 8. - Bump version to `6.6.0`. Resolves #2792 Resolves #2791 Resolves #2771 Resolves #2794
- Ensure `DateOnly` and `TimeOnly` with for Newtonsoft.Json. - Add System.Text.Json support for `TimeSpan` and `Version`. - Add Int128 and UInt128 support. - Handle `AnnotationsDataType.Upload`. - Create `AnnotationsDataType` mapping dictionary...
@domaindrivendev Would you be intrested in accepting a PR for enabling null checks in compile time? I could enabling enable for all the projects and fix any nullabillity issues discovered?...