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.

35 lines
995 B

3 years ago
exports.options = {
routePrefix: "/documentation",
exposeRoute: true,
swagger: {
info: {
title: "Arminta Tank API's",
description:
"API's that support armintatank operations including user self service rentals , staff assisted rentals , customer support operations and management dashboards ",
3 years ago
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: "35.207.198.4:3000", //Production for swagger
3 years ago
schemes: ["http"],
consumes: ["application/json"],
produces: ["application/json"],
securityDefinitions: {
basicAuth: {
type: "apiKey",
name: "Authorization",
in: 'header'
},
},
uiConfig: {
docExpansion: 'full',
deepLinking: false
},
},
};