mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	improve some descriptions etc
This commit is contained in:
		| @@ -1197,6 +1197,14 @@ class SavedViewViewSet(ModelViewSet, PassUserMixin): | ||||
|             "description": "Further documentation", | ||||
|             "url": "https://docs.paperless-ngx.com/api/#bulk-editing", | ||||
|         }, | ||||
|         responses={ | ||||
|             200: inline_serializer( | ||||
|                 name="BulkEditDocumentsResult", | ||||
|                 fields={ | ||||
|                     "result": serializers.CharField(), | ||||
|                 }, | ||||
|             ), | ||||
|         }, | ||||
|     ), | ||||
| ) | ||||
| class BulkEditView(PassUserMixin): | ||||
| @@ -2326,6 +2334,14 @@ def serve_file(doc: Document, use_archive: bool, disposition: str): | ||||
|             "description": "Further documentation", | ||||
|             "url": "https://docs.paperless-ngx.com/api/#objects", | ||||
|         }, | ||||
|         responses={ | ||||
|             200: inline_serializer( | ||||
|                 name="BulkEditResult", | ||||
|                 fields={ | ||||
|                     "result": serializers.CharField(), | ||||
|                 }, | ||||
|             ), | ||||
|         }, | ||||
|     ), | ||||
| ) | ||||
| class BulkEditObjectsView(PassUserMixin): | ||||
|   | ||||
| @@ -327,6 +327,15 @@ class GenerateAuthTokenView(GenericAPIView): | ||||
|         ) | ||||
|  | ||||
|  | ||||
| @extend_schema_view( | ||||
|     list=extend_schema( | ||||
|         description="Get the application configuration", | ||||
|         external_docs={ | ||||
|             "description": "Application Configuration", | ||||
|             "url": "https://docs.paperless-ngx.com/configuration/", | ||||
|         }, | ||||
|     ), | ||||
| ) | ||||
| class ApplicationConfigurationViewSet(ModelViewSet): | ||||
|     model = ApplicationConfiguration | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 shamoon
					shamoon