master
Varun 9 months ago
parent b01f54cc92
commit 845729fbb2

@ -1115,24 +1115,18 @@ fastify.get("/api/getbatchnumbers/:storeId/:type", {
description: "This is to Get batch numbers", description: "This is to Get batch numbers",
summary: "This is to Get batch numbers", summary: "This is to Get batch numbers",
params: { params: {
required: ["storeId"],
type: "object", type: "object",
properties: { properties: {
storeId: { storeId: {
type: "string", type: "string",
description: "storeId", description: "storeId",
}, },
},
},
params: {
required: ["type"],
type: "object",
properties: {
type: { type: {
type: "string", type: "string",
description: "type", description: "type",
}, },
}, },
required: ["storeId", "type"],
}, },
security: [ security: [
{ {

Loading…
Cancel
Save