blob: f4d2a32b411d7bb56e48fcb50b4e7f7ed8dcdda7 [file] [log] [blame]
{
"openapi": "3.0.0",
"info": {},
"paths": {},
"components": {
"schemas": {
"Arrays": {
"type": "object",
"properties": {
"bar": {
"type": "array",
"items": {
"type": "string",
"enum": [
"1",
"2",
"3"
],
"default": "1"
}
},
"foo": {
"type": "array",
"items": {
"type": "object",
"properties": {
"a": {
"type": "integer"
},
"e": {
"type": "array",
"items": {
"type": "string",
"enum": [
"1",
"2",
"3"
],
"default": "1"
}
}
}
}
},
"baz": {
"type": "array",
"uniqueItems": true
},
"qux": {
"type": "array",
"minItems": 1,
"maxItems": 3
}
}
},
"MyEnum": {
"description": "MyEnum",
"type": "string",
"enum": [
"1",
"2",
"3"
],
"default": "1"
},
"MyStruct": {
"description": "MyStruct",
"type": "object",
"properties": {
"a": {
"type": "integer"
},
"e": {
"type": "array",
"items": {
"type": "string",
"enum": [
"1",
"2",
"3"
],
"default": "1"
}
}
}
}
}
}
}