Format an OpenAPI document with stable indentation and readable nested schemas.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The document is parsed into paths, operations, components, schemas, and security objects, then serialized with stable indentation and key ordering. References and descriptions remain intact; formatting does not validate or resolve the contract.
{"openapi":"3.0.3","info":{"title":"Pet Store","version":"1.0.0"},"paths":{"/pets":{"get":{"summary":"List pets","responses":{"200":{"description":"OK"}}}}}}
{
"openapi": "3.0.3",
"info": {
"title": "Pet Store",
"version": "1.0.0"
},
"paths": {
"/pets": {
"get": {
"summary": "List pets",
"responses": {
"200": {
"description": "OK"
}
}
}
}
}
}
API pull requests, documentation builds, and gateway repositories format specs.