(Other options include RAML, Blueprint and IO Docs, but Swagger has the momentum)
(Other options include RAML, Blueprint and IO Docs, but Swagger has the momentum)
A good starting point is to generate the SDK online: https://github.com/swagger-api/swagger-codegen#online-genera...
Swagger-Codegen can also generate server stub in SpringMVC, PHP Slim and more.
Disclosure: I'm a top contributor to the project.
WSDL on the other hand seems to be dead and/or unusable. Even one of its creators described it as a "train wreck" :)
Yeah, it's not. It's still what people in big enterprises do, or what people who want to do a quick API use.
If you're a .NET developer it's pretty easy to consume WDSL/SOAP services, so you might be more inclined to just use it when creating your own webservices.
There's of cause also the group that doesn't really know what they're doing, who just slaps a webservice method decorator on whatever internal function they wish to expose. Those are usually the worst APIs.
But yes, WDSL is a train wreck.
Disclosure: I'm a top contributor to swagger-codegen