Skip to content

Commit ecc2b18

Browse files
committed
api spec stack build optional parameters
1 parent 3d844ca commit ecc2b18

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

platform/paths/stacks/builds/builds.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,13 @@ post:
8585
type: object
8686
properties:
8787
about:
88-
$ref: ../../../../components/schemas/stacks/builds/StackBuildAbout.yml
88+
oneOf:
89+
- $ref: ../../../../components/schemas/stacks/builds/StackBuildAbout.yml
90+
- type: "null"
8991
instructions:
90-
$ref: ../../../../components/schemas/stacks/builds/StackBuildInstructions.yml
92+
oneOf:
93+
- $ref: ../../../../components/schemas/stacks/builds/StackBuildInstructions.yml
94+
- type: "null"
9195
responses:
9296
201:
9397
description: Returns a Stack Build.

0 commit comments

Comments
 (0)