mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-06-12 14:37:25 -05:00
Fix: correct api schema for next_asn (#10151)
This commit is contained in:
parent
454a2d9e9e
commit
8d48e99487
@ -1099,6 +1099,12 @@ class DocumentViewSet(
|
||||
200: DocumentSerializer(many=True, all_fields=True),
|
||||
},
|
||||
),
|
||||
next_asn=extend_schema(
|
||||
description="Get the next available Archive Serial Number (ASN) for a new document",
|
||||
responses={
|
||||
200: OpenApiTypes.INT,
|
||||
},
|
||||
),
|
||||
)
|
||||
class UnifiedSearchViewSet(DocumentViewSet):
|
||||
def __init__(self, *args, **kwargs):
|
||||
|
Loading…
x
Reference in New Issue
Block a user