fix(rfid): correction to the params and incorrect naming
This commit is contained in:
@@ -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}",
|
||||
|
||||
@@ -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}",
|
||||
|
||||
Reference in New Issue
Block a user