Skip to content

Commit

Permalink
feat: Allow environment status origin & trigger nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
mzottola committed Nov 21, 2023
1 parent 2891a44 commit eb2fb5e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/schemas/EnvironmentStatus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ properties:
type: integer
nullable: true
origin:
$ref: './enums/OrganizationEventOrigin.yaml'
$ref: './enums/EnvironmentStatusEventOrigin.yaml'
triggered_by:
type: string
11 changes: 11 additions & 0 deletions src/schemas/enums/EnvironmentStatusEventOrigin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
type: string
nullable: true
description: Origin of the organization event
enum:
- API
- CLI
- CONSOLE
- GIT
- QOVERY_INTERNAL
- TERRAFORM_PROVIDER
example: API

0 comments on commit eb2fb5e

Please sign in to comment.