File size: 655 Bytes
2468dce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
const swaggerOptions = {
  definition: {
    openapi: '3.0.0',
    info: {
      title: 'AkenoXJs',
      version: '1.0.0',
      description: "Free API by @xtdevs",
      contact: {
        name: "RandyDev",
        url: "",
        email: ""
      },
      license: {
        name: "MIT LICENSE",
        url: "https://github.com/xtsea/x-api-js/blob/main/LICENSE"
      }
    },
    servers: [
      { 
        url: 'https://randydev-ryu-js.hf.space', 
        description: 'url' 
      }
    ],
    tags: [
      { name: "AI" }
    ]
  },
  apis: [
    "./routes/*.js",
    "./plugins/*.js",
    "./routes/*.route.js"
  ]
};

export { swaggerOptions };