Convert to YAML
Save + View
{ "openapi": "3.0.0", "servers": [ { "url": "https://httpbin.org" } ], "info": { "version": "1.0.0", "title": "An example of how we render different data types" }, "paths": { "/anything/primitive-types": { "post": { "summary": "Primitive data types", "parameters": [], "responses": { "200": { "description": "OK" } }, "requestBody": { "content": { "application/json": { "schema": { "type": "object", "properties": { "string (format: date)": { "type": "string", "format": "date" }, "string (format: date-time)": { "type": "string", "format": "date-time" } } } } } } } } }, "components": { "schemas": { "string_enum": { "enum": [ "available", "pending", "sold" ], "type": "string" }, "Circular": { "type": "object", "properties": { "string": { "type": "string" }, "children": { "type": "array", "items": { "$ref": "#/components/schemas/Circular" } } } } } }, "x-explorer-enabled": true, "x-samples-enabled": true, "x-samples-languages": [ "curl", "node", "ruby", "javascript", "python" ] }
Explore