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