support swagger 2.0
in order to tie into the ecosystem of self-describing APIs supporting Swagger 2.0 definitions, I would like to suggest support for this version of swagger. This is particularly necessary for supporting Azure Web Api Apps....the only way to create an Azure API app currently appears to be to use the Swashbuckle Generator (which means using WebApi instead of ServiceStack) or hand-crafting the definition file.
I'm also needing Swagger 2.0 support for our REST API built using ServiceStack. There are a growing number of ecosystems requiring Swagger 2.0 - such as Azure API management, Microsoft Power Apps, et cetera.
I've looked at the source of the current 1.2 implementation for SS and am contemplating rolling my own Swagger 2.0 compliant plugin - but an officially supported implementation would be preferable.
Michael Ulmann commented
I have to abandon SS in favour of API management if SS is not going to support Swagger 2.0 very soon.
Charles Solar commented
+1 Adding support for 2.0 would allow other utilities like AutoRest https://github.com/Azure/autorest to work which may reduce the amount of generator code servicestack itself needs to handle
We want to use Microsoft Power Apps.
With Microsoft PowerApps it should be possible to quickly create apps with custom API's.
It doesn't mention which Swagger version it supports, but I think it uses 2.0 definition files.
I think this is the time to support Swagger 2.0 in ServiceStack Swagger package.
Swagger 2.0 would be nice to support exposing my service as an Azure API App for others to consume easily.
Jon Kennerly commented
I've spent the last two hours learning about Azure API Managment. My production API running on SS with Swagger 1.2 spec wouldn't work. Hmmmm... now here we are.
Support 2.0 specification would be nice.