github.com/oam-dev/kubevela@v1.9.11/pkg/utils/common/testdata/workload1.json (about)

     1  {
     2     "openapi": "3.0.0",
     3     "info": {
     4        "title": "Generated by cue.",
     5        "version": "no version"
     6     },
     7     "paths": {},
     8     "components": {
     9        "schemas": {
    10           "parameter": {
    11              "type": "object",
    12              "required": [
    13                 "image",
    14                 "http"
    15              ],
    16              "properties": {
    17                 "image": {
    18                    "description": "+usage=Which image would you like to use for your service\n+short=i",
    19                    "type": "string"
    20                 },
    21                 "cmd": {
    22                    "description": "+usage=Commands to run in the container",
    23                    "type": "array",
    24                    "items": {
    25                       "type": "string"
    26                    }
    27                 },
    28                 "cpu": {
    29                    "type": "string"
    30                 },
    31                 "http": {
    32                    "type": "object",
    33                    "additionalProperties": {
    34                       "type": "integer"
    35                    }
    36                 }
    37              }
    38           }
    39        }
    40     }
    41  }