Rename operation ids
This commit is contained in:
parent
cbbf6c2c40
commit
68face201b
20 changed files with 14173 additions and 23 deletions
|
|
@ -53,6 +53,7 @@ class InstanceSettings(generics.GenericAPIView):
|
|||
]
|
||||
return api_preferences
|
||||
|
||||
@extend_schema(operation_id='get_instance_settings')
|
||||
def get(self, request):
|
||||
queryset = self.get_queryset()
|
||||
data = GlobalPreferenceSerializer(queryset, many=True).data
|
||||
|
|
@ -121,6 +122,7 @@ class SpaManifest(views.APIView):
|
|||
permission_classes = []
|
||||
authentication_classes = []
|
||||
|
||||
@extend_schema(operation_id='get_spa_manifest')
|
||||
def get(self, request, *args, **kwargs):
|
||||
existing_manifest = middleware.get_spa_file(
|
||||
settings.FUNKWHALE_SPA_HTML_ROOT, "manifest.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue