Skip to content

Commit

Permalink
feat(adt): add 403 to api response status codes (apache#27162)
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudh-hegde authored and sfirke committed Mar 22, 2024
1 parent 4fedd5e commit b3dce6f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions superset/advanced_data_type/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def get(self, **kwargs: Any) -> Response:
$ref: '#/components/responses/400'
401:
$ref: '#/components/responses/401'
403:
$ref: '#/components/responses/403'
404:
$ref: '#/components/responses/404'
500:
Expand Down Expand Up @@ -139,6 +141,8 @@ def get_types(self) -> Response:
type: string
401:
$ref: '#/components/responses/401'
403:
$ref: '#/components/responses/403'
404:
$ref: '#/components/responses/404'
500:
Expand Down

0 comments on commit b3dce6f

Please sign in to comment.