feat(api): Add IndexViewset to ViewSet mixin

ref: #442 #456
This commit is contained in:
2024-12-27 22:30:17 +09:30
parent 62fcb5aa01
commit 193c6c3b7f
17 changed files with 164 additions and 25 deletions

View File

@ -3,12 +3,12 @@ from drf_spectacular.utils import extend_schema
from rest_framework.response import Response
from rest_framework.reverse import reverse
from api.viewsets.common import CommonViewSet
from api.viewsets.common import IndexViewset
@extend_schema(exclude = True)
class Index(CommonViewSet):
class Index(IndexViewset):
allowed_methods: list = [
'GET',