andrewlock / StronglyTypedId

A Rosyln-powered generator for strongly-typed IDs
MIT License
1.52k stars 80 forks source link

Add Swagger Schema Filter Converter #86

Open lucasteles opened 1 year ago

lucasteles commented 1 year ago

By default, StronglyTypedId doesn't play very nicely with Swagger/OpenAPI docs:

This PR adds an ISchemaFilter implementation option, which makes StronglyTypedId show as expected on SwaggerGen/OpenAPI documentation

Fix https://github.com/andrewlock/StronglyTypedId/issues/58

timschwallie commented 1 year ago

Very much need this fix.