blob: 92dc87f93144001be2c16436b9667fa6c7d78740 [file] [log] [blame]
{
"openapi": "3.0.0",
"info": {
"title": "Generated by cue.",
"version": "no version"
},
"paths": {},
"components": {
"schemas": {
"Duration": {
"type": "string"
},
"MyStruct": {
"type": "object",
"required": [
"contains"
],
"properties": {
"timestamp1": {
"type": "string",
"format": "date-time"
},
"timestamp2": {
"type": "string",
"format": "date-time"
},
"timestamp3": {
"type": "string",
"format": "date-time"
},
"timestamp4": {
"type": "string",
"format": "date-time"
},
"date1": {
"type": "string",
"format": "date"
},
"date2": {
"type": "string",
"format": "date"
},
"timeout": {
"$ref": "#/components/schemas/Duration"
},
"contains": {
"type": "array"
}
}
}
}
}
}