by m3h · 5y ago · 0 comments
TLDR: There are a good many technical challenges to creating high-quality SDKs in multiple languages for a medium to large-sized REST API and most teams seem to underestimate the amount of effort required to build and maintain SDKs. The speed and savings from code generation is quite compelling and a modern commercial code generator like APIMatic has a wide-enough feature-set that most REST APIs don't require writing SDKs by hand anymore.
Disclaimer: I am a contributor to APIMatic Code Generator.
Swagger Codegen: https://github.com/swagger-api/swagger-codegen
OpenAPI Generator: https://github.com/OpenAPITools/openapi-generator
AutoRest: https://github.com/Azure/AutoRest
NSwag: https://github.com/RicoSuter/NSwag
oapi-codegen: https://github.com/deepmap/oapi-codegen
go-swagger: https://github.com/go-swagger/go-swagger
Back in 2014, OpenAPI didn't even exist. The latest API specification format was Swagger 1.2 and it was not very mature at that point. We had to build a lot of vendor extensions to cover the various REST API use-cases that API folks take for granted today.
Today, we also run the most-used API Spec format convertor tool in the world by the name of API Transformer [2]; this tool has helped a lot of companies migrate from an older spec formats like OpenAPI 2 and RAML to OpenAPI 3. We support nearly all API specification formats including RAML, OpenAPI (2., 3.), Blueprint, Postman, WADL and more.[3]
[1] https://www.apimatic.io/about/ [2] https://www.apimatic.io/transformer/ [3] https://docs.apimatic.io/api-transformer/overview-transforme... [4] https://www.apimatic.io/developer-experience-portal