Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct bug in scoped variable access #223

Merged
merged 2 commits into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion components/schemas/scoped-variables/ScopedVariableAccess.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ properties:
type: object
properties:
duration:
type: object
type: string
description: Duration is a time string that the internal API will serve that variable after runtime starts.
nullable: true
anyOf:
Expand All @@ -22,6 +22,10 @@ properties:
nullable: true
description: File is an object that describes a path to mount the file to inside the container.
type: object
# avoid conflicting name in ogen generator with the Decode method
x-ogen-properties:
decode:
name: "DecodeBase64"
required:
- decode
- path
Expand Down
6 changes: 5 additions & 1 deletion components/schemas/stacks/spec/StackSpecScopedVariable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ properties:
type: object
properties:
duration:
type: object
type: string
description: Duration is a time string that the internal API will serve that variable after runtime starts.
nullable: true
anyOf:
Expand All @@ -61,6 +61,10 @@ properties:
required:
- decode
- path
# avoid conflicting name in ogen generator with the Decode method
x-ogen-properties:
decode:
name: "DecodeBase64"
properties:
decode:
description: When true, Cycle will interpret this variable as a base-64 encoded string, and decode it before passing it into the container.
Expand Down