OpenAPITools/openapi-generator
View on GitHub ↗ ★ 26,845 Java
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
101 mentions on Hacker News by 43 people: 45 stories, 56 comments · first 2018-06-02 · latest 2025-11-24
20082026
-
https://github.com/OpenAPITools/openapi-generator You can also have an LLM generate a client from an OpenAPI spec
comment by UltraSane · 2025-11-24 · in MCP Apps: Extending servers with interactive user interfaces -
…an OpenAPI.json file for your backend and then you can feed this OpenAPI.json document into https://github.com/OpenAPITools/openapi-generator to generate a typescript library that contains all the types. Then you don't need to verify your…
comment by vaylian · 2025-07-04 · in A Rust-TypeScript integration -
It would be great if D supported something like OpenAPI generator https://github.com/OpenAPITools/openapi-generator Maybe it exists and I am just ignorant but it doesn't seem to be in the list of supported languages.
comment by ofrzeta · 2025-04-26 · in Programming in D: Tutorial and Reference -
…(mostly Nest.js) backends, and export those types as packages for use in our frontends. [1] https://github.com/OpenAPITools/openapi-generator
comment by lvncelot · 2025-03-23 · in Show HN: FastOpenAPI – automated docs for many Python frameworks -
Did you try to use https://github.com/OpenAPITools/openapi-generator directly?
comment by cess11 · 2024-12-18 · in After 3 Years, I Failed. Here's All My Startup's Code -
There's a huge number of them https://openapi.tools/#sdk Including the semi official tools https://github.com/OpenAPITools/openapi-generator Now if you want multi language generation and especially high quality you may have to spend a lot…
comment by rat87 · 2024-12-18 · in After 3 Years, I Failed. Here's All My Startup's Code -
https://github.com/OpenAPITools/openapi-generator has 22K stars
comment by xnx · 2024-12-17 · in After 3 Years, I Failed. Here's All My Startup's Code -
…that Stainless offers above just using OpenAPI and its huge library of existing generators? https://github.com/OpenAPITools/openapi-generator
comment by itslennysfault · 2024-04-24 · in The Stainless SDK Generator -
…makes me a little afraid, and you still end up doing a lot of the last mile work yourself. --- [1] https://github.com/OpenAPITools/openapi-generator
comment by brandur · 2024-04-24 · in The Stainless SDK Generator -
…come to Stainless! [1] https://www.mux.com/blog/an-adventure-in-openapi-v3-api-code... [2] https://github.com/OpenAPITools/openapi-generator
comment by GeneticGenesis · 2024-04-24 · in The Stainless SDK Generator -
…it. For just one or two SDKs I think we probably would have kept going with it, though. [1] https://github.com/OpenAPITools/openapi-generator [2] https://www.mux.com/blog/an-adventure-in-openapi-v3-api-code...
comment by mmcclure · 2024-04-24 · in The Stainless SDK Generator -
Of course you can compile the server from source if you have Go and the OpenAPI generator JAR ( https://github.com/OpenAPITools/openapi-generator?tab=readme... ) Follow these steps : https://github.com/c100k/rebootx-on-prem/blob/master/.git…
comment by pmdfgy · 2024-03-27 · in Show HN: Manage on-prem servers from my smartphone -
…a bit here[3]. [0]: https://github.com/oclif/oclif#oclif-readme [1]: https://app.quicktype.io/ [2]: https://github.com/OpenAPITools/openapi-generator [3]: https://blog.whilenot.dev/posts/typescript-source-code-gener...
comment by whilenot-dev · 2023-12-13 · in Cog: Use Python in your source files to generate pieces of code (2021) -
…use it again. Here are my gripes: 1) For me one of the biggest selling points is client code gen ( https://github.com/OpenAPITools/openapi-generator ). Basically it sucks, or at least it sucks in enough languages to spoil it. The value…
comment by mbell · 2023-05-31 · in OpenAPI v4 (aka Moonwalk) Proposal -
…needed a whole bunch of time until we got OpenAPI and levels of codegen that SoapUI had years ago: https://github.com/OpenAPITools/openapi-generator MySQL Workbench also has great bi-directional ER diagram support, with forward/backward…
comment by KronisLV · 2023-05-03 · in Rules of thumb for software development estimations -
…lot of openapi-based client generators. This one, for example, has been around for quite some time: https://github.com/OpenAPITools/openapi-generator (1) Kinda. OpenAPI schema and JSONSchema are largely intersecting sets but there are bits…
comment by spion · 2023-01-31 · in Ask HN: Do you use JSON Schema? Help us shape its future stability guarantees -
…React + TypeScript on the client (which consume that specification through openapi-generator). https://github.com/OpenAPITools/openapi-generator I chuckle every time I read claims about Go (or whatever) being amazingly productive. I don't…
comment by 5e92cb50239222b · 2022-12-14 · in SvelteKit 1.0 -
You don't need to pay for SDK creation, OpenAPI-generator goes a long way https://github.com/OpenAPITools/openapi-generator
comment by apinerd · 2022-11-02 · in Show HN: API that validates tax ID numbers for over 100 countries -
…interested in testing out the multi-language version, let me know! Some other solutions: -OpenAPI: http://github.com/openapitools/openapi-generator -(language specific) Go SDK: https://github.com/deepmap/oapi-codegen Best of luck with…
comment by ndimares · 2022-09-27 · in Ask HN: Do you write a lot of SDKs for your APIs? -
One way is to auto-generate SDKs using OpenAPI Generator ( http://github.com/openapitools/openapi-generator ) given an OpenAPI spec.
comment by wing328hk · 2022-09-23 · in Ask HN: Do you write a lot of SDKs for your APIs? -
…https://github.com/danielgtaylor/restish https://github.com/danielgtaylor/openapi-cli-generator https://github.com/OpenAPITools/openapi-generator
comment by xtreak29 · 2022-03-25 · in Ask HN: Simple framework/way to create command-line apps? -
https://github.com/OpenAPITools/openapi-generator
comment by maxthegeek1 · 2022-02-07 · in Don't make me think, or why I switched to Rails from JavaScript SPAs -
…documentation and client libraries. If you need to do this in python, please consider using the new https://github.com/OpenAPITools/openapi-generator/blob/maste... generator, which I wrote. Some reasons to use it: - it preserves spec case…
comment by spacether · 2022-01-25 · in New auto-generated python api client released -
…make you go through 15 or so steps and force you to start over if you make the tiniest mistake. [1] https://github.com/OpenAPITools/openapi-generator
comment by mkl95 · 2022-01-16 · in PyFlow – Visual scripting framework for Python – NodeRED alternative? -
…API spec and use something like openapi-generators to produce typed client code for data fetching ( https://github.com/OpenAPITools/openapi-generator )
comment by mrctte · 2021-11-22 · in Django 4.0 release candidate 1 released -
…from scratch? 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…
comment by mattzzz · 2021-09-17 · in Adopting the OpenAPI schema to generate Plaid’s SDKs -
…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…
comment by pimterry · 2021-09-09 · in AsyncAPI vs. OpenAPI: Answers to Your Burning Questions -
…the generators are "bug free" but it's not the case, and bug reports are lost in a sea of issues: https://github.com/OpenAPITools/openapi-generator/issues so i don't see things improving anytime soon. I've also wondered if the "logic-less"…
comment by mradmin · 2021-06-24 · in Laravel Transporter -
…generate php client. It makes you app client independent of framework and also language itself. [1] https://github.com/OpenAPITools/openapi-generator
comment by debarshri · 2021-06-24 · in Laravel Transporter -
…[1] https://json-schema.org/ [2] https://swagger.io/specification/ [3] https://github.com/OpenAPITools/openapi-generator [4] https://docsify.js.org/
comment by beatcracker · 2021-04-05 · in Ask HN: What novel tools are you using to write web sites/apps? -
…, eslint etc to format the auto-generated code based on the style you want. Please open an issue via http://github.com/OpenAPITools/openapi-generator/issues/new if you need help with OpenAPI Generator. Disclosure: I'm the top contributor…
comment by wing328hk · 2021-02-07 · in Ask HN: Should we waste hours writing REST API clients? -
…It has a lot of languages and libraries you can choose from to generate your client side code in. https://github.com/OpenAPITools/openapi-generator
comment by jayjaycross · 2021-02-02 · in FastAPI framework, high perf, easy to learn, fast to code, ready for production -
FYI. OpenAPI Generator supports many programming languages and server-side frameworks: https://github.com/OpenAPITools/openapi-generator#overview This is not to say it has more languages supported than Protobuf as I do not know exactly how…
comment by wing328hk · 2020-11-15 · in API design is stuck in the past -
…and more. It supports many programming languages and many companies are already using it [2]: [1] https://github.com/OpenAPITools/openapi-generator [2] https://openapi-generator.tech/users (Disclosure: I'm the top contributor to OpenAPI…
comment by wing328hk · 2020-11-15 · in API design is stuck in the past -
Personally, for building a client library I'd take a look at OpenAPI Generator ( https://github.com/openapitools/openapi-generator ) or Swagger Codegen ( https://github.com/swagger-api/swagger-codegen ) - especially if the API provider has…
comment by alexpeattie · 2020-05-23 · in Ask HN: Best practices (and examples) for designing client libraries for APIs? -
…-o C:\tmp\ocaml If you've any feedback or question, please let us know via https://github.com/OpenAPITools/openapi-generator/issues/new
comment by wing328hk · 2020-02-25 · in Functional Programming in OCaml -
…for the languages I use, but this is the future. Please share your feedback by opening an issue via https://github.com/OpenAPITools/openapi-generator/issues/new... . Thanks.
comment by wing328hk · 2020-02-21 · in OpenAPI 3.0.3 Specification Released -
Do you mind opening an issue via http://github.com/OpenAPITools/openapi-generator/issues/new with the details? (I assumed you've checked out the auto-generated documentation and that doesn't look good to you.) There were discussions on…
comment by wing328hk · 2020-02-21 · in OpenAPI 3.0.3 Specification Released -
…4.3.0 release. You can give it a try with the latest snapshot version for the time being. Ref: https://github.com/OpenAPITools/openapi-generator/pull/5120
comment by wing328hk · 2020-02-21 · in OpenAPI 3.0.3 Specification Released -
…every time. Super awesome & convenient project, the value being delivered for free is unreal. [0]: https://github.com/OpenAPITools/openapi-generator [1]: https://vadosware.io/post/quick-intro-to-manual-openapi-v3/ [2]:…
comment by hardwaresofton · 2020-02-21 · in OpenAPI 3.0.3 Specification Released -
You may want to try OpenAPI Generator ( https://github.com/OpenAPITools/openapi-generator ), which supports JS client/server, TS, JS Flow and many other languages for code generation. There're many IDE plug-ins that integrate with OpenAPI…
comment by wing328hk · 2020-01-10 · in Ask HN: Are there any visual workflow or low-code tools that output JavaScript? -
…different libraries (jersey2, retrofit2, openfeign, resttemplate, etc) and a good starting point is https://github.com/OpenAPITools/openapi-generator/tree/maste... and we can plot the OAuth-related enhancements back to the template more…
comment by wing328hk · 2019-12-03 · in OpenAPI Generator 4.2.2 (2019 last release): new TS redux-query generator -
…it yet. If you've time to make the contribution, please let me know by opening an issue/ticket: https://github.com/OpenAPITools/openapi-generator/issues/new We've also added a protobuf schema generator (`protobuf-schema`) to convert…
comment by wing328hk · 2019-12-03 · in OpenAPI Generator 4.2.2 (2019 last release): new TS redux-query generator -
Here is the Q&A: https://github.com/OpenAPITools/openapi-generator/blob/maste... Another way to compare is as follows: https://www.openhub.net/p/openapi-generator vs https://www.openhub.net/p/swagger-codegen
comment by wing328hk · 2019-11-14 · in Ask HN: What is your ML stack like? -
FYI. One way to automatically generate API clients is to use OpenAPI Generator ( https://github.com/OpenAPITools/openapi-generator ), which is free, open-source and supports 30+ programming languages. Disclosure: I'm the top contributor to…
comment by wing328hk · 2019-11-13 · in Ask HN: What is your ML stack like? -
…contributed the F#/Giraffe generator to the OpenAPI generator project, which you can find at https://github.com/OpenAPITools/openapi-generator
comment by avinium · 2019-06-24 · in Ask HN: Do you use automated tools to create APIs, or do you code them manually? -
…took place in May 2018 - a year ago. For the reasons behind the fork, please refer to the Q&A ( https://github.com/OpenAPITools/openapi-generator/blob/maste... ). Fast forward to today, we just released OpenAPI Generator v4.0.0 - the 20th…
comment by wing328hk · 2019-05-18 · in Ask HN: Is anyone using REST API code generator in production? -
…release all of my packages on one centralized service. I hope they support PHP and Python soon. [1] https://github.com/OpenAPITools/openapi-generator
comment by nathan_f77 · 2019-05-11 · in GitHub Package Registry -
…probably even done some of the same work for code generation (custom Java subclasses, etc.) [1] https://github.com/OpenAPITools/openapi-generator
comment by nathan_f77 · 2019-04-15 · in Using JSON Schema to Document, Test, and Debug APIs -
…[1] https://formapi.io [2] https://github.com/domaindrivendev/rswag [3] https://github.com/OpenAPITools/openapi-generator
comment by nathan_f77 · 2019-04-15 · in Using JSON Schema to Document, Test, and Debug APIs