openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3) (by OpenAPITools)

Openapi-generator Alternatives

Similar projects and alternatives to openapi-generator

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better openapi-generator alternative or higher similarity.

Suggest an alternative to openapi-generator

Reviews and mentions

Posts with mentions or reviews of openapi-generator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-09.
  • Using swaggo to generate typescript types
    reddit.com/r/golang | 2021-10-10
    Hi, we use swaggo to generate the documentation and then https://openapi-generator.tech/ to generate a typescript-axios client-stub. The plan for us is to publish this client stub to a private npm registry for our frontend. Hope it helps.
  • Mmmm, sparkling JSON
    A huge overview here
  • Looking for help with Azure Autorest
    reddit.com/r/golang | 2021-10-04
    You may have better luck with go-swagger or OpenAPI Generator to generate Go code.
  • I started a new job using Angular and I miss React
    reddit.com/r/reactjs | 2021-10-02
  • A question regarding PHP, WSDL and Angular implementation
    reddit.com/r/Angular2 | 2021-09-30
    Then whoever uses your API can use this to generate it into the language of their choice -https://github.com/OpenAPITools/openapi-generator
  • Apex Structure for working with API
    Second, are these APIs implemented with a standard like openapi? If so, you can generate the DTO/Data transfer objects from their schema/spec using something like this https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/apex.md
  • Looking for full-featured OpenAPI generator for Go
    reddit.com/r/golang | 2021-09-26
    https://github.com/OpenAPITools/openapi-generator is the best there is imo. DB CRUD support probably won't happen in that project, if you wanted to you could extend it with java code and moustache template tweaks to make it generate whatever Go code you need.
    reddit.com/r/golang | 2021-09-26
    I have been using https://github.com/deepmap/oapi-codegen for work and personal sutff. It is very minimalist, and uses interface for the server, so iteration easier. It can also generate the types that you need for models, and a client for testing if needed. It does not generate a ton of files like https://github.com/OpenAPITools/openapi-generator.
    reddit.com/r/golang | 2021-09-26
    There's go-server, go-gin-server and go-echo-server in https://github.com/OpenAPITools/openapi-generator
  • Type-safe OpenAPI server for Rust?
    reddit.com/r/rust | 2021-09-19
    I was assuming the main (official??) Generator https://github.com/OpenAPITools/openapi-generator and one output language. Their cli(frontend) tool seems to save the version of the backend and recommends checking in the version file and sticking with one version.
    reddit.com/r/rust | 2021-09-19
    We started with the Swagger generator (https://swagger.io/tools/swagger-codegen/) then moved to the OpenAPI Tools generator (https://github.com/OpenAPITools/openapi-generator) when a bunch of the developers left.
  • Adopting the OpenAPI schema to generate Plaid’s SDKs
    news.ycombinator.com | 2021-09-16
  • What is Swagger and How to implement Swagger for Golang API documentation?
    reddit.com/r/golang | 2021-09-12
    https://github.com/OpenAPITools/openapi-generator openapi code generator (openapi is the official name for those yaml files)
  • Third-party REST API client design
    reddit.com/r/javahelp | 2021-09-10
    As for the rest, the idea is why design something you don't need to? If you use the OpenAPI generator, you can generate all the code you are writing and don't have to call the exchange method at all. For example, the OpenAPI code generator for the Pet Store API can generate all this code, and all you have to do is this:
  • AsyncAPI vs. OpenAPI: Answers to Your Burning Questions
    news.ycombinator.com | 2021-09-09
    I think the core goal is to have one machine-readable source of truth for your API. You can write docs, the API interface, API input validation and 10 per-language SDKs & clients all by hand, but then they very quickly get out of sync, and nobody knows which is 'right'. If you write docs as prose, good luck keeping it updated when management wants it translated into 10 languages and the API changes every week.

    Meanwhile, at least in theory, with a good central spec you can generate at least the docs & much of this code, or alternatively automatically validate custom implementations & real traffic to get immediate warnings if there are discrepancies.

    There's a lot of power in formal specifications.

    That is all dependent on tooling though. OpenAPI is far ahead in that respect, and can achieve this goal for most HTTP APIs & a huge list of languages (see https://github.com/OpenAPITools/openapi-generator) pretty effectively. AsyncAPI is much newer though, and I think the ecosystem is still quite small, but hopefully they'll get there too eventually.

Stats

Basic openapi-generator repo stats
62
9,921
9.9
5 days ago

OpenAPITools/openapi-generator is an open source project licensed under Apache License 2.0 which is an OSI approved license.

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
Find remote Java jobs at our new job board 99remotejobs.com. There is 1 new remote job listed recently.
Are you hiring? Post a new remote job listing for free.