Estructura del Archivo .yaml de RestAPI (comando delete)

apiVersion: api-management.sensedia.com/v1
kind: RestAPI
metadata:
  # Descripción de texto libre que sólo incluye valores de ejemplo
  type: production
  owner: engineering
spec:
  # Campos de identificación
  name: "My API"
  version: "1.0.0"

Schema de RestAPI (comando delete)

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "$id": "https://sensedia.com/cli/api-management/restapi",
  "type": "object",
  "properties": {
    "apiVersion": {
      "type": "string",
      "enum": [
        "api-management.sensedia.com/v1"
      ]
    },
    "kind": {
      "type": "string",
      "enum": [
        "RestAPI"
      ]
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "spec": {
      "additionalProperties": true,
      "type": "object",
      "required": [
        "name",
        "version"
      ],
      "properties": {
        "name": {
          "type": "string"
        },
        "version": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "apiVersion",
    "kind",
    "spec"
  ]
}
Thanks for your feedback!
EDIT

Share your suggestions with us!
Click here and then [+ Submit idea]