Estructura del Archivo .yaml de Plan (comando delete)

apiVersion: api-management.sensedia.com/v1
kind: Plan
spec:
  name: "Basic Plan"
  apiRef:
     name: "Open Banking API"
     version: "1.0.0"

Schema de Plan (comando delete)

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

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