blob: 31406bfd739434e135aa2fd57f9f0c98ad0cbe50 [file] [log] [blame]
{
"openapi": "3.0.0",
"info": {
"title": "test",
"version": "v1"
},
"paths": {},
"components": {
"schemas": {
"BaseType": {
"type": "object",
"required": [
"b"
],
"properties": {
"b": {
"type": "string"
}
}
},
"Keep": {
"type": "object",
"required": [
"excludedStruct",
"excludedInt"
],
"properties": {
"excludedStruct": {
"description": "This comment is included",
"type": "object",
"required": [
"A"
],
"properties": {
"A": {
"type": "integer"
}
}
},
"excludedInt": {
"type": "integer"
}
}
},
"Type": {
"type": "object",
"properties": {
"a": {
"type": "string"
}
},
"allOf": [
{
"$ref": "#/components/schemas/BaseType"
}
]
}
}
}
}