Skip to content

Commit

Permalink
feat: add Slug to DeploymentAction model (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevjt committed May 5, 2024
1 parent b94c41b commit 38fe321
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/octopus_deploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -31225,6 +31225,10 @@
},
"readOnly": true
},
"Slug": {
"type": "string",
"readOnly": true
},
"TenantTags": {
"type": "array",
"items": {
Expand Down
4 changes: 4 additions & 0 deletions api/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -2390,6 +2390,10 @@
},
"readOnly": true
},
"Slug": {
"type": "string",
"readOnly": true
},
"TenantTags": {
"uniqueItems": true,
"type": "array",
Expand Down
1 change: 1 addition & 0 deletions pkg/deployments/deployment_action.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (

type DeploymentAction struct {
ActionType string `json:"ActionType" validate:"required,notblank"`
Slug string `json:"Slug,omitempty"`
CanBeUsedForProjectVersioning bool `json:"CanBeUsedForProjectVersioning"`
Channels []string `json:"Channels,omitempty"`
Condition string `json:"Condition,omitempty"`
Expand Down

0 comments on commit 38fe321

Please sign in to comment.