blob: 2a5411fc0f1142de61984120a133d7cc48c0b0ed [file] [log] [blame]
{
"openapi": "3.0.0",
"info": {
"title": "Generated by cue.",
"version": "no version"
},
"paths": {},
"components": {
"schemas": {
"MyType": {
"type": "object",
"required": [
"myString",
"myPattern",
"myAntiPattern"
],
"properties": {
"myString": {
"type": "string",
"minLength": 1,
"maxLength": 5
},
"myPattern": {
"type": "string",
"pattern": "foo.*bar"
},
"myAntiPattern": {
"type": "string",
"not": {
"pattern": "foo.*bar"
}
}
}
}
}
}
}