randydev commited on
Commit
2468dce
·
verified ·
1 Parent(s): 44ec318

Create settingOptions.js

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