Skip to content

Commit

Permalink
Add missing security section for attribute endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
saraycp authored and danidoni committed Mar 20, 2023
1 parent 5bc5d36 commit 73ac397
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
get:
summary: Get all the project's attributes
security:
- basic_authentication: []
parameters:
- $ref: '../components/parameters/project_name.yaml'
# Query Strings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ get:
summary: Get project's attribute
description: |
Get a specified attribute of the project
security:
- basic_authentication: []
parameters:
- $ref: '../components/parameters/project_name.yaml'
- $ref: '../components/parameters/attribute_name.yaml'
Expand Down Expand Up @@ -68,6 +70,8 @@ post:
summary: Modifies the specified attribute
description: |
Modifies the specified attribute
security:
- basic_authentication: []
parameters:
- $ref: '../components/parameters/project_name.yaml'
- $ref: '../components/parameters/attribute_name.yaml'
Expand Down Expand Up @@ -109,6 +113,8 @@ delete:
summary: Removes a specified attribute
description: |
Removes a specified attribute
security:
- basic_authentication: []
parameters:
- $ref: '../components/parameters/project_name.yaml'
- $ref: '../components/parameters/attribute_name.yaml'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
get:
summary: List the attibutes of a package
security:
- basic_authentication: []
parameters:
- $ref: '../components/parameters/project_name.yaml'
- $ref: '../components/parameters/package_name.yaml'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ get:
summary: Get package's attribute
description: |
Get the specified attribute of the package
security:
- basic_authentication: []
parameters:
- $ref: '../components/parameters/project_name.yaml'
- $ref: '../components/parameters/package_name.yaml'
Expand Down

0 comments on commit 73ac397

Please sign in to comment.