We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The Variable schema is defined as:
Variable
Variable: type: object required: - name - orgID - arguments properties: links: type: object readOnly: true properties: self: type: string format: uri id: readOnly: true type: string orgID: type: string name: type: string selected: type: array items: type: string arguments: type: object oneOf: - $ref: "#/components/schemas/QueryVariableProperties" - $ref: "#/components/schemas/ConstantVariableProperties" - $ref: "#/components/schemas/MapVariableProperties"
but the HTTP response also contains the org link property:
org link
-> POST -> http://127.0.0.1:9999/api/v2/variables -> { "orgID": "039b91ad74036000", "name": "my-variable1553716598000-IT", "selected": ["constant2"], "arguments": { "type": "constant", "values": ["constant1", "constant2", "constant3"] } } <- 201 <- Created <- { "id": "039c2dce6684d000", "orgID": "039b91ad74036000", "name": "my-variable1553716598000-IT", "selected": ["constant2"], "arguments": { "type": "constant", "values": ["constant1", "constant2", "constant3"] }, "links": { "self": "/api/v2/variables/039c2dce6684d000", "org": "/api/v2/orgs/039b91ad74036000" } }
The Variable schema should be defined as:
Variable: type: object required: - name - orgID - arguments properties: links: type: object readOnly: true properties: self: type: string format: uri org: type: string format: uri id: readOnly: true type: string orgID: type: string name: type: string selected: type: array items: type: string arguments: type: object oneOf: - $ref: "#/components/schemas/QueryVariableProperties" - $ref: "#/components/schemas/ConstantVariableProperties" - $ref: "#/components/schemas/MapVariableProperties"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The
Variable
schema is defined as:but the HTTP response also contains the
org link
property:The
Variable
schema should be defined as:The text was updated successfully, but these errors were encountered: