File size: 871 Bytes
49e9e5f 0de437a 49e9e5f 2468dce 49e9e5f 2468dce a3ae134 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 36 37 38 39 40 41 42 43 |
const defaultDes = `
Free API by @xtdevs
This API grants you a specific set of rights and permissions for accessing and utilizing its data and services.
These rights are defined by its specifications and may be subject to specific terms and conditions.
`;
const swaggerOptions = {
definition: {
openapi: '3.0.0',
info: {
title: 'AkenoXJs',
version: '1.1.5',
description: defaultDes,
contact: {
name: "RandyDev",
url: "",
email: ""
},
license: {
name: "MIT LICENSE",
url: "https://github.com/xtsea/x-api-js/blob/main/LICENSE"
}
},
servers: [
{
url: '',
description: 'url'
}
],
tags: [
{ name: "AI" }
]
},
apis: [
"./routes/*.js",
"./plugins/*.js",
"./routes/*.route.js"
]
};
export { swaggerOptions }; |