Estrutura do Arquivo .yaml de JavaScriptInterceptor (comando delete)

apiVersion: api-management.sensedia.com/v1
kind: JavaScriptInterceptor
spec:
  # Campos de identificação
  name: "My Interceptor"

Schema de JavaScriptInterceptor (comando delete)

{
  "$schema": "https://json-schema.org/draft/2019-09/schema",
  "$id": "https://sensedia.com/cli/api-management/javascript-interceptor/delete",
  "type": "object",
  "properties": {
    "apiVersion": {
      "type": "string",
      "enum": [
        "api-management.sensedia.com/v1"
      ]
    },
    "kind": {
      "type": "string",
      "enum": [
        "JavaScriptInterceptor"
      ]
    },
    "metadata": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "spec": {
      "additionalProperties": true,
      "type": "object",
      "required": [
        "name"
      ],
      "properties": {
        "name": {
          "type": "string"
        }
      }
    }
  },
  "required": [
    "apiVersion",
    "kind",
    "spec"
  ]
}
Thanks for your feedback!
EDIT
How useful was this article to you?