Hacker GitHub

← All repos

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

Mentions per year 101 mentions · busiest year 2019 (35)
20082026
  1. https://github.com/OpenAPITools/openapi-generator You can also have an LLM generate a client from an OpenAPI spec
  2. …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
  3. 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
  4. …(mostly Nest.js) backends, and export those types as packages for use in our frontends. [1] https://github.com/OpenAPITools/openapi-generator
  5. Did you try to use https://github.com/OpenAPITools/openapi-generator directly?
  6. 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…
  7. https://github.com/OpenAPITools/openapi-generator has 22K stars
  8. ▲ 2
    Which tricks do you use to write less code?
    story by jordiburgos · 2024-05-10 · 1 comment
  9. …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
  10. …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
  11. …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
  12. …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
  13. 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…
  14. ▲ 2
    OpenAPI Generator v7.3.0 has new generators for Rust, Kotlin, Scala and Java
    story by ben_s · 2024-02-08 · 0 comments
  15. …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...
  16. …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
  17. ▲ 2
    OpenAPI Generator v6.6.0 Released
    story by beppec · 2023-05-11 · 1 comment
  18. …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…
  19. …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…
  20. ▲ 5
    Show HN: Auto-Generate Python REST API Clients Using OpenAPI Generator
    story by wing328hk · 2022-12-17 · 2 comments
  21. …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
  22. You don't need to pay for SDK creation, OpenAPI-generator goes a long way https://github.com/OpenAPITools/openapi-generator
  23. ▲ 122
    OpenAPI Generator allows generation of API client libraries from OpenAPI Specs
    story by mooreds · 2022-10-16 · 67 comments
  24. ▲ 1
    Ask HN: Why is there no Terraform OpenAPI generator?
    story by mooreds · 2022-10-14 · 0 comments
  25. …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…
  26. One way is to auto-generate SDKs using OpenAPI Generator ( http://github.com/openapitools/openapi-generator ) given an OpenAPI spec.
  27. …https://github.com/danielgtaylor/restish https://github.com/danielgtaylor/openapi-cli-generator https://github.com/OpenAPITools/openapi-generator
  28. https://github.com/OpenAPITools/openapi-generator
  29. …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…
  30. ▲ 2
    New auto-generated python api client released
    story by spacether · 2022-01-25 · 1 comment
  31. …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
  32. …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
  33. …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…
  34. …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…
  35. …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
  36. …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
  37. ▲ 1
    Show HN: Go Echo Server Generator
    story by wing328hk · 2021-04-21 · 0 comments
  38. …[1] https://json-schema.org/ [2] https://swagger.io/specification/ [3] https://github.com/OpenAPITools/openapi-generator [4] https://docsify.js.org/
  39. …, 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…
  40. …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
  41. ▲ 3
    OpenAPI Generator 5.0 was released
    story by 4brunu · 2021-01-05 · 0 comments
  42. ▲ 2
    OpenAPI Generator v5.0.0-beta3 released with Angular 11 support and more
    story by wing328hk · 2020-11-20 · 0 comments
  43. 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
  44. …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
  45. ▲ 1
    OpenAPI Generator v5.0.0-beta2 released with Angular10, RxJava3 support and more
    story by wing328hk · 2020-09-04 · 0 comments
  46. 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…
  47. ▲ 1
    Show HN: Auto-generate ASP.NET Core servers stub for REST APIs
    story by wing328hk · 2020-05-05 · 0 comments
  48. ▲ 2
    OpenAPI Generator v4.3.0 released with 3 new generators
    story by wing328hk · 2020-03-27 · 0 comments
  49. ▲ 4
    Show HN: Auto-Generate Scala API Clients for REST APIs
    story by wing328hk · 2020-03-04 · 0 comments
  50. …-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