ashok 2 months ago
commit f7316787a3

@ -696,7 +696,7 @@ module.exports = function (fastify, opts, next) {
fastify.route({ fastify.route({
method: "GET", method: "GET",
url: "/api/states/:stateName/cities", url: "/api/states/cities/:stateName",
schema: { schema: {
tags: ["Department"], tags: ["Department"],
description: "Get the States by cities", description: "Get the States by cities",
@ -705,6 +705,7 @@ module.exports = function (fastify, opts, next) {
type: "object", type: "object",
properties: { properties: {
stateName: { type: "string" }, stateName: { type: "string" },
}, },
}, },
}, },

Loading…
Cancel
Save