RicoSuter / NSwag

The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.
http://NSwag.org
MIT License
6.67k stars 1.23k forks source link

asp.net core minimal api support - JsonOptions #4732

Closed Bonuspunkt closed 5 months ago

Bonuspunkt commented 7 months ago

the generated swagger.json components/schema/_type_/properties are all in PascalCasing, while its serialized from asp.net core with camelCasing

SystemTextJsonSchemaGeneratorSettings.SerializerOptions should be resolved to Microsoft.AspNetCore.Http.Json.JsonOptions property SerializerOptions

stpanzer commented 6 months ago

+1 I would like to see this fixed as well.