{ "openapi": "3.0.0", "info": { "title": "AllOf", "version": "0.0.0" }, "paths": { "/allOf": { "post": { "parameters": [ { "name": "param0", "in": "header", "schema": { "allOf": [ { "type": "string", "pattern": ".*", "anyOf": [ { "enum": [ "A", "B", "C" ] }, { "minLength": 2 }, { "type": "boolean" } ], "oneOf": [ { "type": "object" }, { "pattern": "XXX" }, { "maxLength": 1 } ] } ] } } ], "responses": { "default": { "$ref": "#/components/responses/success" } } } } }, "components": { "responses": { "success": { "description": "Success", "content": { "application/json": { "schema": { "type": "object" } } } } } } }