qmetrics.net

OpenAPI Generator

OpenAPI-driven SDK, server stub, and docs generator

OpenAPI Generator screenshot

OpenAPI Generator reads OpenAPI 2.x and 3.x specs and emits client SDKs, server stubs, documentation, and related artifacts across many languages. It runs as a CLI, with Maven or Gradle plugins, npm wrapper, or Docker.

Overview

The tool takes a machine-readable API description and produces language-specific clients, server scaffolds, HTML or wiki documentation, Postman collections, GraphQL, JMeter tests, and schema helpers. Generator templates are Mustache-based and can be replaced or extended for custom output.

Installation paths include JAR download, Homebrew, npm package wrapper, pip, and pre-built Docker images for CLI use. A separate online Docker image exposes a self-hosted web application and HTTP API for generation, which can fit into CI pipelines. Workflow integrations cover Maven, Gradle, Bazel, SBT, Cake, and hosted generator SaaS offerings.

Supported client targets span mainstream languages and HTTP stacks, while server generators cover dozens of backends. Documentation generators include HTML, Confluence, AsciiDoc, Markdown, and PlantUML. Options and classpath plugins allow further customization beyond default templates.

The project grew from the Swagger Codegen lineage and documents a migration guide from that tool. Spec compatibility spans OpenAPI 1.x through 3.1 beta.

Key features

  • 50+ API client generators
  • 40+ server stub generators
  • OpenAPI 2.0 and 3.x input
  • Custom Mustache templates
  • Maven and Gradle plugins
  • CLI via npm or Homebrew
  • Docker CLI and online images
  • Docs and config generators

Use cases

  • Publishing SDKs from an API spec
  • Bootstrapping server projects
  • Generating static API documentation
  • CI code generation pipelines
  • MySQL or GraphQL schema export

Tags

Similar software

axios

Promise-based HTTP client for browser and Node.js

Axios is a promise-based HTTP client for JavaScript environments in the browser and Node.js. It supports common request methods, configurable defaults, and interceptors for request and response handling.

★ 109.5k⟳ 2 days agoMIT

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

OmniRoute

OpenAI-compatible AI gateway with provider routing

OmniRoute exposes one endpoint that routes chat requests across many LLM providers with quota-aware fallback and compression.

★ 90.7k⟳ todayMIT

Hoppscotch

Web, desktop and CLI API development ecosystem

Hoppscotch lets developers send HTTP, WebSocket, GraphQL, and related API requests from a lightweight client. Collections, environments, teams, and sync help organize testing across devices.

★ 81k⟳ 5 days agoMIT
Open Source Alternative to:Postman

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

JSON Server

Zero-code mock REST API from JSON data files

JSON Server turns a JSON or JSON5 database file into a REST API for local prototyping. It supports filtering, sorting, pagination, embedding relations, and static assets.

★ 75.7k⟳ 8 months agoMIT