You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1017 B
36 lines
1017 B
exports.options = {
|
|
routePrefix: "/documentation",
|
|
exposeRoute: true,
|
|
swagger: {
|
|
info: {
|
|
title: "Arminta Tank API's",
|
|
description:
|
|
"These are the API's that support armintatank operations including user self service rentals , staff assisted rentals , customer support operations and management dashboards ",
|
|
version: "1.0.0",
|
|
},
|
|
externalDocs: {
|
|
url: "https://swagger.io",
|
|
description: "Find more info here",
|
|
},
|
|
// We have to change this beacause this is running on local
|
|
// we have to run on this on swagger
|
|
host: "localhost:3000", //Devlopemnt host on lcoal
|
|
|
|
// host: "armintaaqua.com:3000", //Production for swagger
|
|
schemes: ["http"],
|
|
consumes: ["application/json"],
|
|
produces: ["application/json"],
|
|
securityDefinitions: {
|
|
basicAuth: {
|
|
type: "apiKey",
|
|
name: "Authorization",
|
|
in: 'header'
|
|
},
|
|
},
|
|
uiConfig: {
|
|
docExpansion: 'full',
|
|
deepLinking: false
|
|
},
|
|
},
|
|
};
|