{ | |
"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": "dateTime" | |
}, | |
"timestamp2": { | |
"type": "string", | |
"format": "dateTime" | |
}, | |
"timestamp3": { | |
"type": "string", | |
"format": "dateTime" | |
}, | |
"timestamp4": { | |
"type": "string", | |
"format": "dateTime" | |
}, | |
"date1": { | |
"type": "string", | |
"format": "date" | |
}, | |
"date2": { | |
"type": "string", | |
"format": "date" | |
}, | |
"timeout": { | |
"$ref": "#/components/schemas/Duration" | |
}, | |
"contains": { | |
"type": "array" | |
} | |
} | |
} | |
} | |
} | |
} |