mirror of
https://github.com/kubevela/kubevela.git
synced 2026-03-05 03:01:21 +00:00
* Fix: depracted resolve reference in gen open API Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> * fix test Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com> Signed-off-by: FogDong <dongtianxin.tx@alibaba-inc.com>
41 lines
1.0 KiB
JSON
41 lines
1.0 KiB
JSON
{
|
|
"openapi": "3.0.0",
|
|
"info": {
|
|
"title": "Generated by cue.",
|
|
"version": "no version"
|
|
},
|
|
"paths": {},
|
|
"components": {
|
|
"schemas": {
|
|
"parameter": {
|
|
"type": "object",
|
|
"required": [
|
|
"image",
|
|
"http"
|
|
],
|
|
"properties": {
|
|
"image": {
|
|
"description": "+usage=Which image would you like to use for your service\n+short=i",
|
|
"type": "string"
|
|
},
|
|
"cmd": {
|
|
"description": "+usage=Commands to run in the container",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"cpu": {
|
|
"type": "string"
|
|
},
|
|
"http": {
|
|
"type": "object",
|
|
"additionalProperties": {
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |