mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-03-28 17:55:06 +00:00
Fix route in openapi spec for uploading
This commit is contained in:
parent
b56a94f9eb
commit
e68ee67aec
@ -212,7 +212,7 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: "#/components/schemas/CheckFileResult"
|
$ref: "#/components/schemas/CheckFileResult"
|
||||||
/sec/upload:
|
/sec/upload/item:
|
||||||
post:
|
post:
|
||||||
tags: [ Upload ]
|
tags: [ Upload ]
|
||||||
summary: Upload files to docspell.
|
summary: Upload files to docspell.
|
||||||
@ -226,7 +226,7 @@ paths:
|
|||||||
The request must be a "multipart/form-data" request, where the
|
The request must be a "multipart/form-data" request, where the
|
||||||
first part is optional and may contain upload metadata as
|
first part is optional and may contain upload metadata as
|
||||||
JSON. Other parts specify the files. Multiple files can be
|
JSON. Other parts specify the files. Multiple files can be
|
||||||
specified, but at least on is required.
|
specified, but at least one is required.
|
||||||
|
|
||||||
The upload meta data can be used to tell, whether multiple
|
The upload meta data can be used to tell, whether multiple
|
||||||
files are one item, or if each file should become a single
|
files are one item, or if each file should become a single
|
||||||
|
Loading…
x
Reference in New Issue
Block a user