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

chore: add flux dictionaries to the swagger AST specification #20708

Merged
merged 2 commits into from
Feb 5, 2021
Merged
Changes from 1 commit
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
Next Next commit
chore: add dictionaries to the swagger ast specification
  • Loading branch information
jpacik authored and danxmoran committed Feb 5, 2021
commit 26579af6d1c415594f2865a562accb3ed476f8ba
22 changes: 22 additions & 0 deletions http/swagger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6749,6 +6749,7 @@ components:
Expression:
oneOf:
- $ref: "#/components/schemas/ArrayExpression"
- $ref: "#/components/schemas/DictExpression"
- $ref: "#/components/schemas/FunctionExpression"
- $ref: "#/components/schemas/BinaryExpression"
- $ref: "#/components/schemas/CallExpression"
Expand Down Expand Up @@ -6781,6 +6782,27 @@ components:
type: array
items:
$ref: "#/components/schemas/Expression"
DictExpression:
description: Used to create and directly specify the elements of a dictionary
type: object
properties:
type:
$ref: "#/components/schemas/NodeType"
elements:
description: Elements of the dictionary
type: array
items:
$ref: "#/components/schemas/DictItem"
DictItem:
description: A key/value pair in a dictionary
type: object
properties:
type:
$ref: "#/components/schemas/NodeType"
key:
$ref: "#/components/schemas/Expression"
val:
$ref: "#/components/schemas/Expression"
FunctionExpression:
description: Function expression
type: object
Expand Down