Skip to content

Commit 2f12dcf

Browse files
OAS Update
1 parent 8709fd0 commit 2f12dcf

1 file changed

Lines changed: 13 additions & 25 deletions

File tree

‎services/sca/v1beta/sca.json‎

Lines changed: 13 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -694,38 +694,26 @@
694694
"type": "object"
695695
},
696696
"CreateEnvironmentPayload": {
697-
"description": "Environment describes an isolated container scope within a project.",
697+
"description": "EnvironmentCreate defines the payload to create a new environment.",
698698
"properties": {
699-
"createdAt": {
700-
"description": "Creation date in RFC3339 format.",
701-
"format": "date-time",
702-
"readOnly": true,
703-
"type": "string"
704-
},
705-
"default": {
706-
"description": "Is the default environmet.",
707-
"readOnly": true,
708-
"type": "boolean"
709-
},
710699
"displayName": {
711700
"description": "Human-readable display name.",
712701
"example": "sandbox-env",
713702
"type": "string"
714703
},
715-
"id": {
716-
"description": "Environment identifier.",
717-
"example": "sca-environment-id",
718-
"readOnly": true,
719-
"type": "string"
720-
},
721-
"region": {
722-
"description": "Region of the environment.",
723-
"example": "eu01",
724-
"readOnly": true,
725-
"type": "string"
704+
"registries": {
705+
"description": "Image registry configurations to create alongside the environment.",
706+
"items": {
707+
"$ref": "#/components/schemas/EnvironmentRegistry"
708+
},
709+
"type": "array"
726710
},
727-
"status": {
728-
"$ref": "#/components/schemas/EnvironmentStatus"
711+
"secrets": {
712+
"description": "Secrets to create alongside the environment.",
713+
"items": {
714+
"$ref": "#/components/schemas/EnvironmentSecret"
715+
},
716+
"type": "array"
729717
}
730718
},
731719
"required": [

0 commit comments

Comments
 (0)