SmartEnum icon indicating copy to clipboard operation
SmartEnum copied to clipboard

Ensure that swagger documentation shows the serialized type.

Open waynethompson opened this issue 5 years ago • 2 comments
trafficstars

Does anyone have experience making sure that the swagger documentation shows the serialized type rather than the smartenum when using swashbuckle?

waynethompson avatar Mar 23 '20 23:03 waynethompson

Let me know if you figure this out or need me to update anything with additional attributes to support Swagger.

ardalis avatar Jun 19 '20 17:06 ardalis

Do we need something like this? https://github.com/ardalis/ApiEndpoints/blob/master/sample/SampleEndpointApp/AuthorEndpoints/Create.cs#L23-L28

ardalis avatar Jun 19 '20 17:06 ardalis