Skip to content

Commit

Permalink
fix schema param:
Browse files Browse the repository at this point in the history
  • Loading branch information
Prometheo committed Jan 2, 2025
1 parent 88c7bea commit cdd1f73
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pots/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,10 +361,15 @@ class MpdaoUsers(APIView):
responses={
200: OpenApiResponse(
response=MpdaoVoterSerializer,
description="Returns voter details or paginated list of all voters",
description="Returns voter details or paginated list of all voters for mpdao round",
examples=[
PAGINATED_MPDAO_USER_EXAMPLE
]
OpenApiExample(
"mpdao-example",
summary="Simple example",
description="Example response for mpdao voters info",
value=PAGINATED_MPDAO_USER_EXAMPLE,
),
],
),
404: OpenApiResponse(description="Voter not found"),
500: OpenApiResponse(description="File read error"),
Expand Down

0 comments on commit cdd1f73

Please sign in to comment.