merge: requests dans request.go

This commit is contained in:
Victor Lacasse-Beaudoin 2024-08-22 12:33:54 -04:00
parent 53f41d64a8
commit 9e08b3f962
7 changed files with 111 additions and 141 deletions

View file

@ -250,7 +250,7 @@ func RunServer() {
}
if err := pave.EchoRegister[
apirequest.V1DocumentsPOST,
apirequest.CreateDocumentsResponse,
apiresponse.V1DocumentsPOST](groupV1, &p, "/v1", http.MethodPost, "/bucket/:bucket/many", "Upload documents to specified bucket", "V1DocumentsPOST", v1Handler.V1DocumentsPOST); err != nil {
log.Fatal(err)
}