{ "openapi": "3.0.0", "info": { "title": "title", "version": "0.1" }, "servers": [ { "url": "http://localhost" } ], "paths": { "/": { "get": { "operationId": "getRoot", "responses": { "default": { "description": "Default response" } } } } }, "components": { "schemas": { "SimpleString": { "type": "string", "maxLength": 10 }, "SimpleStringMin": { "type": "string", "minLength": 3 }, "Person": { "properties": { "name": { "type": "object", "properties": { "first": { "$ref": "#/components/schemas/SimpleString" }, "last": { "$ref": "#/components/schemas/SimpleString" } } }, "quotes": { "type": "array", "items": { "items": { "$ref": "#/components/schemas/SimpleString" } } } } }, "Quotes": { "type": "array", "items": { "type": "array", "items": { "$ref": "#/components/schemas/SimpleString" } } }, "Words": { "type": "array", "items": { "allOf": [ { "$ref": "#/components/schemas/SimpleString" }, { "$ref": "#/components/schemas/SimpleStringMin" } ] } } } } }