OpenAPI / Swagger Viewer
Paste an OpenAPI or Swagger specification to render interactive API documentation. Supports JSON and YAML formats with endpoint grouping, parameter tables, and response codes.
OpenAPI Specification
Klistra in en OpenAPI eller Swagger specification till visa rendered documentation
OpenAPI / Swagger Viewer
Paste an OpenAPI or Swagger specification to render interactive API documentation. Supports JSON and YAML formats with endpoint grouping, parameter tables, and response codes.
Funktioner
- Parse och render OpenAPI 3.x och Swagger 2.0 specifications
- Interaktiv endpoint navigation grouped av tags
- Färg-coded HTTP method badges (GET, POST, PUT, DELETE, PATCH)
- Parameter tables med typ, location, och requirement info
- Förfrågan body schema display med egenskap details
- Svar kod listing med descriptions
Så använder du
- Paste your OpenAPI/Swagger JSON or YAML specification, or click Sample to load an example.
- Toggle mellan JSON och YAML format if needed.
- Browse the rendered documentation: expand tags and endpoints to see parameters, request bodies, and responses.
Tips och bästa praxis
- Alla bearbetning happens i din webbläsare — nej data är sent till vilken som helst server.
- Använda the copy knapp till quickly transfer resultat till din urklipp.
- Verktyget fungerar offline när det är laddat — ingen internetanslutning krävs för bearbetning.
- Kontrollera the FAQ section below för answers till vanlig questions.
- Share detta verktyg med colleagues med hjälp av the social sharing buttons.
Vanliga frågor
What OpenAPI versions are supported?
The viewer supports both OpenAPI 3.x and Swagger 2.0 specification formats. It parses the paths, operations, and schema objects from either version.
Does it support YAML input?
Yes. You can toggle between JSON and YAML format. The built-in YAML parser handles common OpenAPI structures including nested objects, arrays, and inline values.
Can I use this with my private API specs?
Absolutely. All parsing and rendering happens entirely in your browser. Your API specification never leaves your device, making it safe for proprietary and internal APIs.
How are endpoints organized?
Endpoints are grouped by their tags as defined in the specification. Each group can be expanded or collapsed, and individual endpoints reveal their full details when clicked.
Does it show request and response schemas?
Yes. For endpoints with a request body, the viewer displays the schema properties including name, type, required status, and description. Response codes with their descriptions are also shown.
What HTTP methods are color-coded?
GET (green), POST (blue), PUT (orange), DELETE (red), PATCH (yellow), and OPTIONS/HEAD (purple) each have distinctive color badges for quick visual identification.