module that includes all the various bits of a Swagger file as code.
Microsoft has https://github.com/Microsoft/OpenAPI.NET for C#, with documentation on how to write a swagger doc with code instead of json/yaml by hand.
Is anyone aware of how to do that with
swagger-models
or a library similar to it?
t
tddmonkey
04/25/2019, 6:59 AM
I’ve done some work with it when I was writing an annotation processor to generate swagger specs from kotlin code