GitHub

Code generators

Tools to generate code from your OpenAPI Spec, or to generate an OpenAPI Spec from your code.

17 Code generators

NameOpenAPI VersionsLinks
Sponsored🌿 Fern Generate SDKs in popular languages and publish them to package managers (like npm).v3.1, v3, v2
Sponsored✨ Stainless Generate SDKs in popular languages and publish them to package managers (like npm).v3.1, v3
APIMatic CodeGen Bring in your API description (OAI v2/v3, RAML, API Blueprint, WSDL, etc.) to generate fully functional SDKs in over 10 languages.v3.1, v3, v2
BlocklyAutomation Input any OpenAPI document to have generated Blocks in Blockly form to test and generate documentation.v3.1, v3
FabriKt A sophisticated Kotlin code generation library capable of generating Jackson-annotated data classes, Spring Controller interfaces, and fault-tolerant OkHttp clients. Written in Kotlin, this library programatically generates code and is capable of handling advanced OpenApi3 specification features such as polymorphism.v3
generator-openapi-repo Generate the repository structure for a scalable OpenAPI Descriptionv2
Kiota Api Client Generator Kiota is a cross platform API Client code generator that is small, fast, and optimized for API consumers to find APIs and generate client code for just the parts of the API that they need. One tool, for any OpenAPI described API, that delivers a consistent client experience in multiple languages.v3, v2
kubb Kubb is a tool that can generate TypeScript types, Zod schemas, react-query hooks and much more. It has support for Tanstack Query(React, Solid, Svelte and Vue), SWR(React), Zod, Zodios and Axios. Kubb is made based on a plugin system, meaning you can create your own plugin and couple it with the Kubb ecosystem.v3.1, v3, v2
OpenAPI Client Generators .NET Core command line program to generate strongly typed client API codes in C# on .NET Frameworks and .NET Core, and in TypeScript for Angular 5+, Aurelia, jQuery, AXIOS and Fetch API.v3, v2
OpenAPI Commander Generate a Node.js command line tool from an OpenAPI definition.v3.1, v3
OpenAPI Generator A template-driven engine to generate documentation, API clients and server stubs in different languages by parsing your OpenAPI Description (community-driven fork of swagger-codegen)v3, v2
OpenAPI JSON Schema Generator A template-driven engine to generate API client code + documentation by parsing your OpenAPI Descriptionv3.1, v3
OpenAPI Server Code Generator (oapi-codegen) Generate a client, server, and HTTP types for various Go HTTP servers, from an OpenAPI v3 specificationv3
orval orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. Generate, valid, cache and mock in your frontend applications all with your OpenAPI specification. 🍺v3, v2
Python OpenAPI Generator This library facilitates creating OpenAPI document for Python projects.v3
Swagger-Codegen Swagger Codegen enables generating server stubs and client SDKs for APIs described in OpenAPIv3, v2
Unchase.OpenAPI.Connectedservice Visual Studio extension to generate C# (TypeScript) HttpClient (or C# Controllers) code for OpenAPI web service with NSwag.v3, v2
***