Skip to content

Commit

Permalink
chore: add a warning field in the containerReponse to be able provide…
Browse files Browse the repository at this point in the history
… info/warning during the creation/clone of a container
  • Loading branch information
pggb25 committed Jul 28, 2023
1 parent cd5a35e commit ff77ce3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/schemas/ContainerResponse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,9 @@ allOf:
If not specified, it takes the value of the `auto_preview` property from the associated environment.
ports:
$ref: './ServicePortResponseList.yaml'
warnings:
type: array
items:
- $ref: "./ServiceCreationWarning.yaml"
description: |
List of warnings that can occur during the creation/clone of a container.
10 changes: 10 additions & 0 deletions src/schemas/ServiceCreationStatus.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
type: object
properties:
type:
type: string
enum:
- ALIAS_VARIABLE_CREATION_FAILED
- OVERRIDE_VARIABLE_CREATION_FAILED
code:
type: string

0 comments on commit ff77ce3

Please sign in to comment.