Estrutura do Arquivo .yaml de RestAPI (comando delete)

apiVersion: api-management.sensedia.com/v1
kind: RestAPI
metadata:
  # Descrição de texto aberto apenas com valores de exemplo
  type: production
  owner: engineering
spec:
  # Campos de identificação
  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/delete",
  "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]