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.

We’re happy to announce Open API support is now available from v4.5.8. Please see the release notes for details including walk through on using Open API to add your Services in Azure API Management and generating typed clients using Azure’s AutoRest: http://docs.servicestack.net/releases/v4.5.8
Documentation for this feature is availble at: http://docs.servicestack.net/openapi
-
Ryan Britton commented
Thanks guys! :)
-
mikesheen commented
@Ivan Fioravanti - check the activity on https://github.com/ServiceStack/ServiceStack/commits/master - the last few days I see a lot of OpenAPI (nee Swagger) work going!
-
Ivan Fioravanti commented
This is becoming relevant nowadays, are there any news on it?
-
mikesheen commented
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
-
Robin commented
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.
https://powerapps.microsoft.com/en-us/tutorials/register-custom-api/I think this is the time to support Swagger 2.0 in ServiceStack Swagger package.
-
James Carter commented
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.