|
|
|
@ -8,7 +8,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
method: "POST",
|
|
|
|
|
url: "/api/addTanks/:InstallerId",
|
|
|
|
|
schema: {
|
|
|
|
|
tags: ["Tank"],
|
|
|
|
|
tags: ["Install"],
|
|
|
|
|
description: "This is for cretae New Tank",
|
|
|
|
|
summary: "This is for Create New Tank.",
|
|
|
|
|
params: {
|
|
|
|
@ -55,7 +55,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
method: "PUT",
|
|
|
|
|
url: "/api/updateTanks/:InstallerId",
|
|
|
|
|
schema: {
|
|
|
|
|
tags: ["Tank"],
|
|
|
|
|
tags: ["Install"],
|
|
|
|
|
summary: "This is for update tank",
|
|
|
|
|
params: {
|
|
|
|
|
required: ["InstallerId"],
|
|
|
|
@ -103,7 +103,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
method: "PUT",
|
|
|
|
|
url: "/api/deleteTank/:InstallerId",
|
|
|
|
|
schema: {
|
|
|
|
|
tags: ["Tank"],
|
|
|
|
|
tags: ["Install"],
|
|
|
|
|
summary: "This is for delete tank",
|
|
|
|
|
params: {
|
|
|
|
|
required: ["InstallerId"],
|
|
|
|
@ -199,7 +199,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
|
|
|
|
|
|
fastify.get("/api/getTanksofParticularInstaller", {
|
|
|
|
|
schema: {
|
|
|
|
|
tags: ["Tank"],
|
|
|
|
|
tags: ["Install"],
|
|
|
|
|
description: "This is to Get Tank Data of Installer",
|
|
|
|
|
summary: "This is to Get Tank Data of Installer",
|
|
|
|
|
|
|
|
|
|