github.com/oam-dev/kubevela@v1.9.11/pkg/controller/utils/testdata/definition/normalOpenAPISchemaFixed.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                                  ],
    15                                  "properties": {
    16                                          "cmd": {
    17                                                  "description": "Commands to run in the container",
    18                                                  "title": "cmd",
    19                                                  "type": "array",
    20                                                  "items": {
    21                                                          "type": "string"
    22                                                  }
    23                                          },
    24                                          "image": {
    25                                                  "description": "Which image would you like to use for your service",
    26                                                  "title": "image",
    27                                                  "type": "string"
    28                                          },
    29                                          "cpu": {
    30                                                  "title": "cpu",
    31                                                  "type": "string"
    32                                          }
    33                                  }
    34                          }
    35                  }
    36          }
    37  }
    38