4 ms·
Few implementations add hypermedia support in the real world. For one, Swagger is for humans not machines to consume. At it's core it is a way to standardize d
by scarface74 9y ago
Few implementations add hypermedia support in the real world.
For one, Swagger is for humans not machines to consume. At it's core it is a way to standardize documentation that can be easily displayed to humans.
c# - https://github.com/Azure/autorest https://github.com/Azure/autorest
Java -
https://github.com/swagger-api/swagger-parser/blob/master/README.md https://github.com/swagger-api/swagger-parser/blob/master/RE...
And basically everything else.
https://github.com/swagger-api/swagger-codegen/blob/master/README.md https://github.com/swagger-api/swagger-codegen/blob/master/R...
- throwaway2016a 9y agoThose are code generators. The code they generate is for the computer. The spec is still an abstraction layer designed for humans. I am not aware of any code generators that read the swagger file every single API call and use that as if it were the code.
- scarface74 9y agoHow is that any different than a WSDL? A WSDL could also be said to be designed for humans -- it's just XML -- but there are code generators for it too.