Sindbad~EG File Manager

Current Path : /home/infinitibizsol/.trash/docs.1/
Upload File :
Current File : /home/infinitibizsol/.trash/docs.1/swagger.js

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.specs = void 0;
Object.defineProperty(exports, "swaggerUi", {
  enumerable: true,
  get: function get() {
    return _swaggerUiExpress["default"];
  }
});
var _dotenv = require("dotenv");
var _swaggerJsdoc = _interopRequireDefault(require("swagger-jsdoc"));
var _swaggerUiExpress = _interopRequireDefault(require("swagger-ui-express"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
(0, _dotenv.config)();
var options = {
  definition: {
    openapi: "3.0.0",
    info: {
      title: "INSURE-CRM API",
      version: "1.0.0",
      description: "A simple Express insure-crm Management API"
    },
    servers: [{
      url: "http://localhost:3000"
    }, {
      url: "https://insurcrm.infinitibizsol.com"
    }],
    components: {
      securitySchemes: {
        // Bearer Auth (JWT)
        bearerAuth: {
          type: "http",
          scheme: "bearer",
          bearerFormat: "JWT"
        }
      }
    },
    security: [{
      bearerAuth: []
    }]
  },
  apis: ["./docs/*.js", "./docs/user/*.js", "./docs/contact/*.js", "./docs/common/*.js", "./docs/policy/*.js"] // Files containing annotations
};
var specs = exports.specs = (0, _swaggerJsdoc["default"])(options);

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists