Skip to content

Commit

Permalink
add param to openapi spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Apr 2, 2024
1 parent 63aacce commit dc788e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions superset/views/users/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,13 @@ def avatar(self, user_id: str) -> Response:
description: >-
Gets the avatar URL for the user with the given ID, or returns a 401 error
if the user is unauthenticated.
parameters:
- in: path
name: user_id
required: true
description: The ID of the user
schema:
type: string
responses:
301:
description: A redirect to the user's avatar URL
Expand Down

0 comments on commit dc788e6

Please sign in to comment.