Déplacer déclarations de route à pave pour API spec autogénérée #176

Merged
vlbeaudoin merged 17 commits from feature/pave into main 2023-11-20 17:05:41 -05:00
Showing only changes of commit 8e03ba001f - Show all commits

View file

@ -220,7 +220,7 @@ func RunServer() {
if err := pave.EchoRegister[ if err := pave.EchoRegister[
apirequest.V1SeedPOST, apirequest.V1SeedPOST,
apiresponse.V1SeedPOST](groupV1, &p, "/v1", http.MethodPost, "/seed", "Créer buckets manquants définis dans `server.documents.buckets`", "V1SeedPOST", v1HandleV1SeedPOSTed); err != nil { apiresponse.V1SeedPOST](groupV1, &p, "/v1", http.MethodPost, "/seed", "Créer buckets manquants définis dans `server.documents.buckets`", "V1SeedPOST", v1Handler.V1SeedPOST); err != nil {
log.Fatal(err) log.Fatal(err)
} }