diff --git a/program/views.py b/program/views.py index b9796c7281ee27017794ffed7220222a4306cdf3..dfd25ac3f3040fade3a0d3d0fde099d2df390c49 100644 --- a/program/views.py +++ b/program/views.py @@ -143,6 +143,17 @@ def gap_entry(*, gap_start: datetime, gap_end: datetime) -> dict: } +@extend_schema_view( + create=extend_schema(summary="List schedule for a specific date."), + list=extend_schema( + summary="List schedule for a specific date.", + description=( + "Returns a list of the schedule for a specific date." + "Expects parameters `year` (int), `month` (int), and `day` (int) as url components." + "e.g. /program/2024/01/31/" + ), + ), +) class APIDayScheduleViewSet( mixins.ListModelMixin, viewsets.GenericViewSet,