Skip to content

Commit

Permalink
Force breeding sites tags to not hyphens
Browse files Browse the repository at this point in the history
  • Loading branch information
epou committed Dec 5, 2024
1 parent 7f8db74 commit a0c23f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion api/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,9 @@ class BiteViewSet(BaseReportViewSet):
class MyBiteViewSet(BaseMyReportViewSet, BiteViewSet):
pass

@extend_schema(
tags=['breedingsites']
)
class BreedingSiteViewSet(BaseReportWithPhotosViewSet):
serializer_class = BreedingSiteSerializer
filterset_class = BreedingSiteFilter
Expand All @@ -292,7 +295,7 @@ class BreedingSiteViewSet(BaseReportWithPhotosViewSet):

@extend_schema_view(
list=extend_schema(
tags=['breeding-sites'],
tags=['breedingsites'],
operation_id='breeding_sites_list_mine',
description="Get Current User's Breeding Sites"
)
Expand Down

0 comments on commit a0c23f9

Please sign in to comment.