feat(barcodes): Baseline for implementation

This commit is contained in:
2024-12-12 16:30:46 +01:00
parent 8f676f08a9
commit 5587fdaaa8
2 changed files with 19 additions and 3 deletions

View File

@@ -97,9 +97,7 @@ func main() {
pdfv1.Post("/cards", handler.GenerateCard)
pdfv1.Post("/certificates", handler.GenerateCertificate)
barcodev1 := v1.Group("/barcodes")
barcodev1.Get("/:type/:content", handler.GenerateBarcode)
v1.Get("/barcodes/:type/:content", handler.GenerateBarcode)
app.Use(handler.NotFoundHandler)
docs.SwaggerInfo.BasePath = "/"