Skip to content

Commit

Permalink
fix: set parent_id and scope required when listing variables
Browse files Browse the repository at this point in the history
  • Loading branch information
pggb25 committed Nov 14, 2023
1 parent e1c7ee1 commit 1960131
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/resources/variable/Variable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ get:
parameters:
- in: query
name: parent_id
required: true
schema:
type: string
format: uuid
description: it filters the list by returning only the variables accessible by the selected parent_id. This field shall contain the id of a project, environment or service depending on the selected scope. Example, if scope = APPLICATION and parent_id=<application_id>, the result will contain any variable accessible by the application. The result will contain also any variable declared at an higher scope.
- in: query
name: scope
required: true
schema:
$ref: '../../schemas/enums/APIVariableScope.yaml'
description: the type of the parent_id (application, project, environment etc..).
Expand Down

0 comments on commit 1960131

Please sign in to comment.