|
|
@ -114,8 +114,8 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
url: "/api/bookingData",
|
|
|
|
url: "/api/bookingData",
|
|
|
|
schema: {
|
|
|
|
schema: {
|
|
|
|
tags: ["Tanker"],
|
|
|
|
tags: ["Tanker"],
|
|
|
|
description: "This is for store booking data of a Tanker",
|
|
|
|
description: "This is for storing booking data of a Tanker",
|
|
|
|
summary: "This is for store booking data of a Tanker",
|
|
|
|
summary: "This is for storing booking data of a Tanker",
|
|
|
|
body: {
|
|
|
|
body: {
|
|
|
|
type: "object",
|
|
|
|
type: "object",
|
|
|
|
properties: {
|
|
|
|
properties: {
|
|
|
@ -124,6 +124,7 @@ module.exports = function (fastify, opts, next) {
|
|
|
|
capacity: { type: "string" },
|
|
|
|
capacity: { type: "string" },
|
|
|
|
address: { type: "string" },
|
|
|
|
address: { type: "string" },
|
|
|
|
dateTime: { type: "string"},
|
|
|
|
dateTime: { type: "string"},
|
|
|
|
|
|
|
|
amount : { type: "string" },
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|