import swaggerJsdoc from "swagger-jsdoc";
const swaggerOptions: swaggerJsdoc.Options = {
  swaggerDefinition: {
    openapi: "3.0.0",
    info: {
      title: "Your API Documentation",
      version: "1.0.0",
      description: "API documentation generated using Swagger"
    },
    servers: [
      {
        url: "https://quantcapital-api.devtrust.biz/",
        description: "Development Server"
      }
    ]
  },
  apis: ["./swaggerApiDoc.yaml", "./routes.js"]
};
// Initialize swagger-jsdoc
const swaggerSpec = swaggerJsdoc(swaggerOptions);
export default swaggerSpec;
