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

View File

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