Thanks for your feedback!
EDIT
.yaml
File Structure (apply
command)apiVersion: api-management.sensedia.com/v1 kind: Environment metadata: # Open text description with only example values type: production owner: engineering spec: # Identifying fields name: Production # Other fields description: <string> deploymentPermission: type: Me | Team | Organization teamRef: name: <string> tracePermission: type: Me | Team | Organization teamRef: name: <string> gatewayPoolRef: name: <string> inboundURL: inboundAddressRef: name: <string> path: <string>
apply
command){ "$schema": "https://json-schema.org/draft/2019-09/schema", "$id": "https://sensedia.com/cli/api-management/environment", "comment": "Environment Schema", "type": "object", "properties": { "apiVersion": { "type": "string", "enum": [ "api-management.sensedia.com/v1" ] }, "kind": { "type": "string", "enum": [ "Environment" ] }, "metadata": { "type": "object", "additionalProperties": { "type": "string" } }, "spec": { "additionalProperties": false, "type": "object", "required": [ "name", "description", "inboundURL" ], "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "deploymentPermission": { "$ref": "#/$defs/permission" }, "tracePermission": { "$ref": "#/$defs/permission" }, "gatewayPoolRef": { "$ref": "#/$defs/optionalNamedRef", "default": { "name": "default" } }, "inboundURL": { "type": "object", "properties": { "inboundAddressRef": { "$ref": "#/$defs/namedRef" }, "path": { "type": "string" } }, "required": [ "inboundAddressRef", "path" ] } } } }, "required": [ "apiVersion", "kind", "spec" ], "$defs": { "namedRef": { "additionalProperties": false, "type": "object", "properties": { "name": { "type": "string" } }, "required": [ "name" ] }, "optionalNamedRef": { "additionalProperties": false, "type": "object", "properties": { "name": { "type": "string" } } }, "permission": { "additionalProperties": false, "type": "object", "default": { "type": "Organization" }, "properties": { "type": { "type": "string", "enum": [ "Team", "Organization", "Me" ], "default": "Organization" }, "teamRef": { "$ref": "#/$defs/namedRef" } } } } }
Share your suggestions with us!
Click here and then [+ Submit idea]