Convert to YAML
Save + View
{ "openapi": "3.0.0", "info": { "version": "1.0.0", "title": "flatten bug" }, "paths": { "/": { "get": { "responses": { "200": { "description": "successful operation", "content": { "application/json;charset=UTF-8": { "schema": { "$ref": "#/components/schemas/extendedAttribute" } } } } } } } }, "servers": [ { "url": "https://httpbin.org" } ], "components": { "schemas": { "extendedAttribute": { "type": "object", "required": [ "value" ], "properties": { "createdOn": { "type": "string", "format": "date-time", "readOnly": true }, "lastModifiedOn": { "type": "string", "format": "date-time", "readOnly": true }, "application": { "allOf": [ { "$ref": "#/components/schemas/link" } ] }, "value": { "type": "string" } } }, "linkBase": { "type": "object", "required": [ "href", "rel" ], "properties": { "href": { "type": "string" }, "rel": { "type": "string" }, "status": { "type": "string", "readOnly": true, "enum": [ "Enabled", "Disabled", "Suspended", "Deleted" ] }, "title": { "type": "string", "readOnly": true } } }, "link": { "type": "object", "allOf": [ { "$ref": "#/components/schemas/linkBase" }, { "type": "object", "properties": { "source": { "$ref": "#/components/schemas/linkBase" } } } ] } } } }
Explore