blob: 694fb75827ccbfc82fa86be88b6f20ce5feff7b0 [file] [log] [blame]
{
"openapi": "3.0.0",
"info": {
"title": "Generated by cue.",
"version": "no version"
},
"paths": {},
"components": {
"schemas": {
"Arrays": {
"type": "object",
"properties": {
"bar": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MyEnum"
}
},
"foo": {
"type": "array",
"items": {
"$ref": "#/components/schemas/MyStruct"
}
},
"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": {
"$ref": "#/components/schemas/MyEnum"
}
}
}
}
}
}
}