fix(rfid): correction to the params and incorrect naming

This commit is contained in:
2025-03-15 15:34:04 -05:00
parent 5b97d078c5
commit a73c63cefa
2 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ const ParamsSchema = z.object({
.min(3) .min(3)
.openapi({ .openapi({
param: { param: {
name: "id", name: "reader",
in: "path", in: "path",
}, },
example: "1212121", example: "1212121",
@@ -27,7 +27,7 @@ const ParamsSchema = z.object({
app.openapi( app.openapi(
createRoute({ createRoute({
tags: ["server"], tags: ["rfid"],
summary: "Adds a new module", summary: "Adds a new module",
method: "post", method: "post",
path: "/mgtevents/{reader}", path: "/mgtevents/{reader}",

View File

@@ -17,7 +17,7 @@ const ParamsSchema = z.object({
.min(3) .min(3)
.openapi({ .openapi({
param: { param: {
name: "id", name: "reader",
in: "path", in: "path",
}, },
example: "1212121", example: "1212121",
@@ -26,7 +26,7 @@ const ParamsSchema = z.object({
app.openapi( app.openapi(
createRoute({ createRoute({
tags: ["server"], tags: ["rfid"],
summary: "Adds a new module", summary: "Adds a new module",
method: "post", method: "post",
path: "/taginfo/{reader}", path: "/taginfo/{reader}",