Skip to main content
HandyWeb

OpenAPI Generator

Describe your API endpoints with sample JSON requests and responses, and get a ready OpenAPI 3.1 (Swagger) spec in YAML or JSON. Schemas are created for you.

Endpoints

Endpoint 1
Format
0 characters0 bytes

The schemas come from the samples. Path parameters such as {id} are added automatically.

How to Use It

  1. Type the title, the version, and the server of the API.
  2. For each endpoint, type the method, the path, and the JSON samples.
  3. Copy or download the document.

Questions and Answers

How is OpenAPI different from Swagger?

OpenAPI is the new name of the Swagger Specification. The document opens in Swagger UI and other OpenAPI 3.1 tools.

Good to Know

JSON bodies, the success response, and string path parameters only. Add query parameters, headers, security, and errors yourself.

Source code of this tool (opens in a new tab)Report a problem on GitHub (opens in a new tab)