Skip to content

Commit b556def

Browse files
authored
Stack Var Fixes (#229)
* fix stack spec nullable/optional * small stack fixes
1 parent 38a1f6c commit b556def

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

components/schemas/StateCountSummary.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ description: A summary of resources by state
55
required:
66
- state
77
- total
8-
- available
98
properties:
109
state:
1110
title: CountsByState

components/schemas/stacks/spec/StackRawSource.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,7 @@ properties:
1010
enum:
1111
- raw
1212
details:
13-
$ref: ./StackSpec.yml
13+
type: object
14+
nullable: true
15+
allOf:
16+
- $ref: ./StackSpec.yml

components/schemas/stacks/spec/StackSpecScopedVariable.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,18 @@ properties:
1818
description: Information about the assignment of the scoped variable to different containers in the environment.
1919
required:
2020
- global
21-
- ids
22-
- identifiers
2321
properties:
2422
global:
2523
type: boolean
2624
description: A boolean where true represents the scoped variables is globally assigned to all current and future containers in the environment.
2725
ids:
26+
nullable: true
2827
type: array
2928
description: An array of container IDs, where each container identified will have access to the scoped variable.
3029
items:
3130
type: string
3231
identifiers:
32+
nullable: true
3333
type: array
3434
description: An array of container identifiers, where each container identfied will have access to the scoped variable.
3535
items:
@@ -38,8 +38,6 @@ properties:
3838
type: object
3939
required:
4040
- env_variable
41-
- internal_api
42-
- file
4341
properties:
4442
env_variable:
4543
type: boolean

0 commit comments

Comments
 (0)