SmartEnum
SmartEnum copied to clipboard
Ensure that swagger documentation shows the serialized type.
trafficstars
Does anyone have experience making sure that the swagger documentation shows the serialized type rather than the smartenum when using swashbuckle?
Let me know if you figure this out or need me to update anything with additional attributes to support Swagger.
Do we need something like this? https://github.com/ardalis/ApiEndpoints/blob/master/sample/SampleEndpointApp/AuthorEndpoints/Create.cs#L23-L28