Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

OpenAPI Visual Designer (API Design in Forms, OpenAPI 3.1 and 3.0)

Design the API in forms; its OpenAPI document writes itself, checked as you go.

Free preview, no sign-upIncluded in your pass Premium tool Premium pass: ₹799 / $19.99 for 30 days On this device: nothing is sent
+3 +1 more details No uploadWorks offline once opened Developer

Free preview: every part of the API designed in the forms with every check, and the first lines (up to 20) of the document. Locked until you unlock it: download and copy.

Premium pass ₹799 for 30 days or ₹249 for 1 week, one‑time. Premium pass $19.99 for 30 days or $7.99 for 1 week, one‑time. How to unlock

Try before you buy.

  • Free preview: every part of the API designed in the forms with every check, and the first lines (up to 20) of the document.
  • Locked until you unlock it: download and copy.
  • Unlock: Premium pass, ₹799 for 30 days or ₹249 for 1 week, a one-time payment that never renews. Unlock: Premium pass, $19.99 for 30 days or $7.99 for 1 week, a one-time payment that never renews.

Ways to unlock shows how to get the full result.

See passes (opens in a new tab)

Printing this result is locked in the free preview.

The API

API details

OpenAPI version
Format

Edits in the text go back into the forms whenever the text is a valid description. With a pass.

  

Open an OpenAPI description

Swagger 2.0 or OpenAPI 3.0, 3.1 or 3.2, in YAML or JSON. It opens as a new design (your other designs stay as they are), and it stays in this browser.

Add a resource

Empty: the plural in kebab case.

Its id
Operations

One JSON object of the resource: its members, with their types and formats, become the schema.

Members from an example

Paste one JSON object: its members, with their types, formats and example values, replace the members of this schema. Undo brings the old ones back.

Next steps Done. What next?

A Premium pass unlocks the full result. See passes

All developer tools

About the OpenAPI Visual Designer (API Design in Forms, OpenAPI 3.1 and 3.0)

Design an HTTP API the way you think about it — paths, operations, parameters, request bodies, responses, schemas and security — in forms, and its OpenAPI description writes itself beside them in YAML or JSON, as OpenAPI 3.1 or 3.0. Add a resource creates the usual operations in one go (list, create, read, replace, update and delete) with pagination, partial updates as a JSON merge patch and errors as problem details; From an example turns a JSON object into a schema with its types and formats.

Open a Swagger 2.0 or OpenAPI 3.0, 3.1 or 3.2 description to keep working on it: what the forms show becomes editable, and everything else — examples, links, callbacks, webhooks, extensions and schemas with compositions — is kept as written. With a pass the document can also be edited as text, and every change that leaves a valid description goes back into the forms. Every change is checked against the official OpenAPI schemas and common rules, and each problem leads to the form it belongs to. Designs are kept in this browser with Undo, and nothing is uploaded. Without a pass the result is a free preview: the whole API can be designed and checked, and the document shows its first lines; copying and downloading it unlock with a Premium pass.

How to use it

  1. Start from the example (an invented bookshop API), choose New design, or Open a description you already have — a file, or YAML or JSON you paste.
  2. Use Add a resource for a whole set of operations at once, or add paths and operations one by one in the outline, and give each operation its parameters, request body and responses.
  3. Describe your data under Schemas: members with their types, formats, limits and examples, or From an example to make them from a JSON object; then pick the schemas in bodies and responses.
  4. Keep an eye on the Checks tab: every problem says where it is, and choosing it opens that form.
  5. Choose OpenAPI 3.1 or 3.0 and YAML or JSON. With a pass, copy or download the document; the free preview shows its first lines.

Examples

A resource in one step
Input
Add a resource: Order, cursor pagination, all six operations, problem details
Result
GET and POST /orders; GET, PUT, PATCH and DELETE /orders/{orderId}; the schemas Order, OrderPatch, Problem and OrderPage (with nextCursor)

Errors use application/problem+json (RFC 9457); PATCH takes application/merge-patch+json (RFC 7396) with every member optional.

A member that can be null, in both versions
Input
nickname: text, “Can be null” ticked
Result
OpenAPI 3.1: type: [string, "null"] · OpenAPI 3.0: type: string with nullable: true
Opening a Swagger 2.0 file
Input
swagger: "2.0" with host, basePath, definitions and body parameters
Result
Servers from host, basePath and schemes; definitions under components/schemas; body parameters as request bodies

Choose 3.0 or 3.1 for the document you take away.

Common uses

  • Designing an API before writing its code (design first), and sharing the description with the people who build and use it.
  • Turning a few example JSON payloads into schemas and a consistent set of CRUD endpoints.
  • Cleaning up an existing description: renaming schemas, adding missing responses and parameter definitions, and fixing what the checks find.
  • Writing the same API as OpenAPI 3.1 and 3.0 for tools that read only one of them.

OpenAPI 3.1 or 3.0?

OpenAPI 3.1 made its Schema Object the same as JSON Schema 2020-12: null is a type of its own (type: [string, "null"]), examples are a list, exclusiveMinimum is a number and a $ref can have a description next to it; it also added webhooks, info.summary and SPDX licence identifiers (the OpenAPI specifications, JSON Schema 2020-12). Many generators and gateways still read only 3.0. The designer keeps your design in 3.1 terms and writes 3.0 by converting it: nullable: true, a single example, boolean exclusive limits and allOf around described references. What 3.0 cannot hold (webhooks, info.summary, a schema that is only null) is left out or kept as it is, and the Checks tab says so.

What a resource gets

A collection path (/orders) with list and create, and an item path (/orders/{orderId}) with read, replace (PUT), update (PATCH) and delete, each with an operationId such as listOrders or createOrder. Creating answers 201 with a Location header; deleting answers 204 without a body (HTTP semantics, RFC 9110). Updates are JSON merge patches: members left out stay as they are and null removes one (RFC 7396). The list is paged with limit and offset, page and pageSize, or an opaque cursor. Errors are problem details with type, title, status, detail and instance (RFC 9457). The id is read-only, so it is sent by the server and not expected in requests.

Opening a description you already have

Swagger 2.0 and OpenAPI 3.0 are upgraded with the same conversion as the OpenAPI Editor, so the design is always in 3.1 terms; a 3.0 description stays set to be written as 3.0. Parameters, bodies, responses and schemas the forms can show become editable. Everything else is kept exactly as written and written back: $refs to shared parameters and responses, examples, links, headers, callbacks, webhooks, server variables, x- extensions, and schemas with oneOf, allOf, conditionals or other keywords the grid does not show (they open as JSON you can edit). OpenAPI 3.2 is designed and written as 3.1; members that are new in 3.2 are kept, and the checks point them out.

The checks

Each change is checked twice: by the designer, for things the forms can point at (a {parameter} in a path with no definition, the same method twice on a path, two schemas with one name), and by the OpenAPI Editor’s validator against the official OpenAPI schema of the version you chose, with its rules for operationIds, path parameters and references. Choosing a problem opens the form where it can be fixed.

Limitations

  • Descriptions of up to 10 MB can be opened; a design is kept in this browser up to about 600 KB of text (larger ones stay on the page until it is closed).
  • The forms show the first media type of each body and response; other media types, encodings and examples are kept as written.
  • Schemas with compositions (oneOf, anyOf, allOf), conditionals or tuple items open as JSON rather than in the member grid.
  • One description per design: references to other files are kept as written but not followed.
  • Comments in an opened YAML file are not kept: the document is written fresh from the design.

Privacy

On this device: nothing is sent

Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.

Frequently asked questions

What do I get without a pass?

Without a pass, OpenAPI Visual Designer (API Design in Forms, OpenAPI 3.1 and 3.0) shows every part of the API designed in the forms with every check, and the first lines (up to 20) of the document. Until you unlock it, the result can’t be downloaded or copied. A Premium or Ultimate pass, a one-time payment that never renews, unlocks the full result. The pricing page lists the passes and their prices.

Is my API description uploaded anywhere?

No. The design, the document and the checks are all made in your browser, and designs are kept in this browser’s own storage until you delete them. Nothing is sent to MySmartCoPilot or anyone else.

Will my existing description change when I open it here?

Only where you edit it, and in how the forms write what they show: for example a 3.0 example stays example in 3.0 and becomes an examples list in 3.1. Comments are not kept, and key order follows the design. Everything the forms do not show is written back as it was.

What does “Add the usual errors” add?

400 for a malformed request, 401 and 403 when the operation needs credentials, 404 on paths that end in an id, 415 and 422 for operations with a body, 429 for rate limits and 500, each as problem details when the design uses them; responses already there are left alone.

Can I edit the YAML or JSON directly?

With a pass, yes: Edit as text turns the document into a text box, and each edit that leaves a valid description goes back into the forms (Undo steps back); while the text is not valid, the forms stay as they were and the page says what is wrong. Comments are not kept, because the document is written again from the design. Without a pass the document shows its first lines, and a whole description can still be brought in with Open a description.

Can I get my design back after deleting something?

Undo (or Ctrl+Z, ⌘Z on a Mac, outside a text box) steps back through deletions and other changes to the structure. Inside a text box, the box’s own undo works as usual.

Which OpenAPI version should I choose?

OpenAPI 3.1 if your tools read it, because its schemas are standard JSON Schema; 3.0 for the many code generators, gateways and documentation tools that still expect it. You can switch at any time and the same design is written either way.

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.