fix api spec
This commit is contained in:
@@ -186,7 +186,11 @@ pub async fn get_document(
|
|||||||
responses(
|
responses(
|
||||||
(status = 201, description = "Document created", body = DocumentDetailResponse),
|
(status = 201, description = "Document created", body = DocumentDetailResponse),
|
||||||
(status = 200, description = "Existing document reused", body = DocumentDetailResponse),
|
(status = 200, description = "Existing document reused", body = DocumentDetailResponse),
|
||||||
(status = 409, description = "Document with identical contents already exists")
|
(
|
||||||
|
status = 409,
|
||||||
|
description = "Document with identical contents already exists",
|
||||||
|
body = crate::error::ApiErrorResponse
|
||||||
|
)
|
||||||
),
|
),
|
||||||
tag = "Documents"
|
tag = "Documents"
|
||||||
)]
|
)]
|
||||||
|
|||||||
Reference in New Issue
Block a user