diff --git a/be/app.js b/be/app.js index e9fdd6c..ede22db 100644 --- a/be/app.js +++ b/be/app.js @@ -11,6 +11,8 @@ import cors from 'cors' import * as url from 'url' import cookieParser from 'cookie-parser' import { ErrorMiddleware } from './src/middlewares/error.middleware.js' +import swaggerJSDoc from 'swagger-jsdoc' +import swaggerUi from 'swagger-ui-express' loadEnv() @@ -28,7 +30,7 @@ export class App { this.initializeFrontend() this.initializeMiddlewares() this.initializeRoutes(routes) - // this.initializeSwagger(); + this.initializeSwagger() this.initializeErrorHandling() } @@ -46,12 +48,12 @@ export class App { } initializeFrontend() { - const __dirname = url.fileURLToPath(new URL('.', import.meta.url)) // Use build folder for static files this.app.use(express.static('build')) this.app.get('/env', exposeEnvMiddleware(loadPublicEnv)) // TODO ADD ERROR HANDLING FOR UNKNOWN ROUTES + // const __dirname = url.fileURLToPath(new URL('.', import.meta.url)) // this.app.get('*', (req, res) => // res.sendFile(path.join(__dirname, '../', '/build/index.html')) // ) @@ -99,21 +101,37 @@ export class App { initializeRoutes(routes) { routes.forEach((route) => { - this.app.use('/api', route.router) + this.app.use('/api/v1', route.router) }) } initializeSwagger() { + const swaggerPath = path.resolve('be', 'src', 'routes', '*') + console.log(swaggerPath) const options = { - swaggerDefinition: { + definition: { + openapi: '3.0.0', info: { - title: 'REST API', + title: 'Veritext Express API', version: '1.0.0', - description: 'Example docs', + description: + 'Veritet Express API with autogenerated swagger documentation', + contact: { + name: 'Launchpad Lab', + url: 'https://launchpadlab.com/', + email: 'support@launchpadlab.com', + }, }, + servers: [ + { + url: 'http://localhost:3000', + basepath: '/api/v1', + }, + ], }, - apis: ['swagger.yaml'], + apis: [swaggerPath], } + const specs = swaggerJSDoc(options) this.app.use('/api-docs', swaggerUi.serve, swaggerUi.setup(specs)) } diff --git a/be/node_modules/.bin/swagger-jsdoc b/be/node_modules/.bin/swagger-jsdoc new file mode 120000 index 0000000..7c82bc3 --- /dev/null +++ b/be/node_modules/.bin/swagger-jsdoc @@ -0,0 +1 @@ +../../../node_modules/swagger-jsdoc/bin/swagger-jsdoc.js \ No newline at end of file diff --git a/be/package.json b/be/package.json index 1804cc3..5d40122 100644 --- a/be/package.json +++ b/be/package.json @@ -11,6 +11,8 @@ "cookie-parser": "^1.4.6", "cors": "^2.8.5", "prisma": "^4.12.0", + "swagger-jsdoc": "^6.2.8", + "swagger-ui-express": "^4.6.2", "winston": "^3.8.2", "winston-daily-rotate-file": "^4.7.1" }, diff --git a/be/src/logs/debug/2023-04-03.log b/be/src/logs/debug/2023-04-03.log index e432228..4b27840 100644 --- a/be/src/logs/debug/2023-04-03.log +++ b/be/src/logs/debug/2023-04-03.log @@ -162,3 +162,602 @@ Note: Lines with ? are optional. 2023-04-03 09:06:21 info: ======= ENV: development ======= 2023-04-03 09:06:21 info: 🚀 App listening on the port 8080 2023-04-03 09:06:21 info: ================================= +2023-04-03 09:13:58 info: ================================= +2023-04-03 09:13:58 info: ======= ENV: development ======= +2023-04-03 09:13:58 info: 🚀 App listening on the port 8080 +2023-04-03 09:13:58 info: ================================= +2023-04-03 09:14:10 info: GET /home 404 4.543 ms - 143 +2023-04-03 09:14:28 info: GET /api-docs 301 2.450 ms - 183 +2023-04-03 09:14:28 info: GET /api-docs/ 200 4.270 ms - - +2023-04-03 09:14:28 info: GET /api-docs/swagger-ui-init.js 200 0.327 ms - - +2023-04-03 09:14:28 info: GET /api-docs/swagger-ui.css 200 2.148 ms - - +2023-04-03 09:14:28 info: GET /api-docs/swagger-ui-standalone-preset.js 200 2.009 ms - - +2023-04-03 09:14:28 info: GET /api-docs/swagger-ui-bundle.js 200 2.422 ms - - +2023-04-03 09:14:29 info: GET /api-docs/favicon-32x32.png 200 2.002 ms - 628 +2023-04-03 09:15:53 info: GET /api-docs/ 304 2.171 ms - - +2023-04-03 09:15:53 info: GET /api-docs/swagger-ui.css 304 2.192 ms - - +2023-04-03 09:15:53 info: GET /api-docs/swagger-ui-bundle.js 304 3.026 ms - - +2023-04-03 09:15:53 info: GET /api-docs/swagger-ui-init.js 304 2.485 ms - - +2023-04-03 09:15:53 info: GET /api-docs/swagger-ui-standalone-preset.js 304 4.515 ms - - +2023-04-03 09:15:53 info: GET /api-docs/favicon-32x32.png 304 1.745 ms - - +2023-04-03 09:15:54 info: GET /api-docs/ 304 2.291 ms - - +2023-04-03 09:15:54 info: GET /api-docs/swagger-ui.css 304 0.903 ms - - +2023-04-03 09:15:54 info: GET /api-docs/swagger-ui-init.js 304 0.688 ms - - +2023-04-03 09:15:54 info: GET /api-docs/swagger-ui-bundle.js 304 2.654 ms - - +2023-04-03 09:15:54 info: GET /api-docs/swagger-ui-standalone-preset.js 304 2.675 ms - - +2023-04-03 09:15:54 info: GET /api-docs/favicon-32x32.png 304 0.528 ms - - +2023-04-03 09:16:05 info: ================================= +2023-04-03 09:16:05 info: ======= ENV: development ======= +2023-04-03 09:16:05 info: 🚀 App listening on the port 8080 +2023-04-03 09:16:05 info: ================================= +2023-04-03 09:16:08 info: GET /api-docs/ 304 5.437 ms - - +2023-04-03 09:16:08 info: GET /api-docs/swagger-ui.css 304 2.299 ms - - +2023-04-03 09:16:08 info: GET /api-docs/swagger-ui-bundle.js 304 3.406 ms - - +2023-04-03 09:16:08 info: GET /api-docs/swagger-ui-init.js 304 0.304 ms - - +2023-04-03 09:16:08 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.207 ms - - +2023-04-03 09:16:08 info: GET /api-docs/favicon-32x32.png 304 1.604 ms - - +2023-04-03 09:18:43 info: ================================= +2023-04-03 09:18:43 info: ======= ENV: development ======= +2023-04-03 09:18:43 info: 🚀 App listening on the port 8080 +2023-04-03 09:18:43 info: ================================= +2023-04-03 09:18:56 info: GET /api-docs/ 304 4.141 ms - - +2023-04-03 09:18:56 info: GET /api-docs/swagger-ui.css 304 3.007 ms - - +2023-04-03 09:18:56 info: GET /api-docs/swagger-ui-standalone-preset.js 304 3.598 ms - - +2023-04-03 09:18:56 info: GET /api-docs/swagger-ui-bundle.js 304 5.198 ms - - +2023-04-03 09:18:56 info: GET /api-docs/swagger-ui-init.js 304 2.582 ms - - +2023-04-03 09:19:30 info: ================================= +2023-04-03 09:19:30 info: ======= ENV: development ======= +2023-04-03 09:19:30 info: 🚀 App listening on the port 8080 +2023-04-03 09:19:30 info: ================================= +2023-04-03 09:19:43 info: ================================= +2023-04-03 09:19:43 info: ======= ENV: development ======= +2023-04-03 09:19:43 info: 🚀 App listening on the port 8080 +2023-04-03 09:19:43 info: ================================= +2023-04-03 09:19:57 info: ================================= +2023-04-03 09:19:57 info: ======= ENV: development ======= +2023-04-03 09:19:57 info: 🚀 App listening on the port 8080 +2023-04-03 09:19:57 info: ================================= +2023-04-03 09:25:09 info: ================================= +2023-04-03 09:25:09 info: ======= ENV: development ======= +2023-04-03 09:25:09 info: 🚀 App listening on the port 8080 +2023-04-03 09:25:09 info: ================================= +2023-04-03 09:25:20 info: GET /api-docs/ 304 5.445 ms - - +2023-04-03 09:25:20 info: GET /api-docs/swagger-ui.css 304 1.702 ms - - +2023-04-03 09:25:20 info: GET /api-docs/swagger-ui-bundle.js 304 1.719 ms - - +2023-04-03 09:25:20 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.641 ms - - +2023-04-03 09:25:20 info: GET /api-docs/swagger-ui-init.js 200 0.997 ms - - +2023-04-03 09:25:42 info: ================================= +2023-04-03 09:25:42 info: ======= ENV: development ======= +2023-04-03 09:25:42 info: 🚀 App listening on the port 8080 +2023-04-03 09:25:42 info: ================================= +2023-04-03 09:25:47 info: GET /api-docs/ 304 6.055 ms - - +2023-04-03 09:25:47 info: GET /api-docs/swagger-ui.css 304 1.136 ms - - +2023-04-03 09:25:47 info: GET /api-docs/swagger-ui-bundle.js 304 1.662 ms - - +2023-04-03 09:25:47 info: GET /api-docs/swagger-ui-init.js 304 0.255 ms - - +2023-04-03 09:25:47 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.937 ms - - +2023-04-03 09:25:47 info: GET /api-docs/favicon-32x32.png 304 0.656 ms - - +2023-04-03 09:26:25 info: ================================= +2023-04-03 09:26:25 info: ======= ENV: development ======= +2023-04-03 09:26:25 info: 🚀 App listening on the port 8080 +2023-04-03 09:26:25 info: ================================= +2023-04-03 09:26:28 info: GET /api-docs/ 304 5.804 ms - - +2023-04-03 09:26:28 info: GET /api-docs/swagger-ui.css 304 1.059 ms - - +2023-04-03 09:26:28 info: GET /api-docs/swagger-ui-bundle.js 304 1.347 ms - - +2023-04-03 09:26:28 info: GET /api-docs/swagger-ui-init.js 304 0.258 ms - - +2023-04-03 09:26:28 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.987 ms - - +2023-04-03 09:26:28 info: GET /api-docs/favicon-32x32.png 304 1.284 ms - - +2023-04-03 09:26:29 info: GET /api-docs/ 304 2.169 ms - - +2023-04-03 09:26:29 info: GET /api-docs/swagger-ui-init.js 304 0.395 ms - - +2023-04-03 09:26:29 info: GET /api-docs/swagger-ui.css 304 2.954 ms - - +2023-04-03 09:26:29 info: GET /api-docs/swagger-ui-bundle.js 304 3.920 ms - - +2023-04-03 09:26:29 info: GET /api-docs/swagger-ui-standalone-preset.js 304 4.709 ms - - +2023-04-03 09:26:29 info: GET /api-docs/favicon-32x32.png 304 0.772 ms - - +2023-04-03 09:26:32 info: ================================= +2023-04-03 09:26:32 info: ======= ENV: development ======= +2023-04-03 09:26:32 info: 🚀 App listening on the port 8080 +2023-04-03 09:26:32 info: ================================= +2023-04-03 09:26:34 info: GET /api-docs/ 304 11.321 ms - - +2023-04-03 09:26:34 info: GET /api-docs/swagger-ui.css 304 1.043 ms - - +2023-04-03 09:26:34 info: GET /api-docs/swagger-ui-bundle.js 304 0.552 ms - - +2023-04-03 09:26:34 info: GET /api-docs/swagger-ui-init.js 304 0.265 ms - - +2023-04-03 09:26:34 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.994 ms - - +2023-04-03 09:26:34 info: GET /api-docs/favicon-32x32.png 304 0.653 ms - - +2023-04-03 09:26:41 info: ================================= +2023-04-03 09:26:41 info: ======= ENV: development ======= +2023-04-03 09:26:41 info: 🚀 App listening on the port 8080 +2023-04-03 09:26:41 info: ================================= +2023-04-03 09:26:42 info: GET /api-docs/ 304 7.669 ms - - +2023-04-03 09:26:42 info: GET /api-docs/swagger-ui.css 304 1.502 ms - - +2023-04-03 09:26:42 info: GET /api-docs/swagger-ui-bundle.js 304 1.652 ms - - +2023-04-03 09:26:42 info: GET /api-docs/swagger-ui-init.js 304 0.250 ms - - +2023-04-03 09:26:42 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.936 ms - - +2023-04-03 09:26:42 info: GET /api-docs/favicon-32x32.png 304 1.101 ms - - +2023-04-03 09:26:45 info: ================================= +2023-04-03 09:26:45 info: ======= ENV: development ======= +2023-04-03 09:26:45 info: 🚀 App listening on the port 8080 +2023-04-03 09:26:45 info: ================================= +2023-04-03 09:26:47 info: GET /api-docs/ 304 5.217 ms - - +2023-04-03 09:26:47 info: GET /api-docs/swagger-ui.css 304 0.966 ms - - +2023-04-03 09:26:47 info: GET /api-docs/swagger-ui-bundle.js 304 0.504 ms - - +2023-04-03 09:26:47 info: GET /api-docs/swagger-ui-init.js 304 0.231 ms - - +2023-04-03 09:26:47 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.823 ms - - +2023-04-03 09:26:47 info: GET /api-docs/favicon-32x32.png 304 0.570 ms - - +2023-04-03 09:26:53 info: ================================= +2023-04-03 09:26:53 info: ======= ENV: development ======= +2023-04-03 09:26:53 info: 🚀 App listening on the port 8080 +2023-04-03 09:26:53 info: ================================= +2023-04-03 09:26:55 info: GET /api-docs/ 304 9.423 ms - - +2023-04-03 09:26:55 info: GET /api-docs/swagger-ui.css 304 1.931 ms - - +2023-04-03 09:26:55 info: GET /api-docs/swagger-ui-bundle.js 304 3.654 ms - - +2023-04-03 09:26:55 info: GET /api-docs/swagger-ui-init.js 304 0.264 ms - - +2023-04-03 09:26:55 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.089 ms - - +2023-04-03 09:26:55 info: GET /api-docs/favicon-32x32.png 304 0.812 ms - - +2023-04-03 09:28:07 info: ================================= +2023-04-03 09:28:07 info: ======= ENV: development ======= +2023-04-03 09:28:07 info: 🚀 App listening on the port 8080 +2023-04-03 09:28:07 info: ================================= +2023-04-03 09:28:10 info: GET /api-docs/ 304 9.263 ms - - +2023-04-03 09:28:10 info: GET /api-docs/swagger-ui.css 304 1.010 ms - - +2023-04-03 09:28:10 info: GET /api-docs/swagger-ui-bundle.js 304 1.208 ms - - +2023-04-03 09:28:10 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.377 ms - - +2023-04-03 09:28:10 info: GET /api-docs/swagger-ui-init.js 304 0.247 ms - - +2023-04-03 09:28:11 info: GET /api-docs/favicon-32x32.png 304 1.163 ms - - +2023-04-03 09:28:26 info: GET /api/v1/api-docs 404 6.133 ms - 154 +2023-04-03 09:29:14 info: ================================= +2023-04-03 09:29:14 info: ======= ENV: development ======= +2023-04-03 09:29:14 info: 🚀 App listening on the port 8080 +2023-04-03 09:29:14 info: ================================= +2023-04-03 09:32:07 info: ================================= +2023-04-03 09:32:07 info: ======= ENV: development ======= +2023-04-03 09:32:07 info: 🚀 App listening on the port 8080 +2023-04-03 09:32:07 info: ================================= +2023-04-03 09:34:16 info: ================================= +2023-04-03 09:34:16 info: ======= ENV: development ======= +2023-04-03 09:34:16 info: 🚀 App listening on the port 8080 +2023-04-03 09:34:16 info: ================================= +2023-04-03 09:35:06 info: ================================= +2023-04-03 09:35:06 info: ======= ENV: development ======= +2023-04-03 09:35:06 info: 🚀 App listening on the port 8080 +2023-04-03 09:35:06 info: ================================= +2023-04-03 09:35:16 info: ================================= +2023-04-03 09:35:16 info: ======= ENV: development ======= +2023-04-03 09:35:16 info: 🚀 App listening on the port 8080 +2023-04-03 09:35:16 info: ================================= +2023-04-03 09:35:19 info: GET /api-docs/ 304 5.536 ms - - +2023-04-03 09:35:19 info: GET /api-docs/swagger-ui.css 304 3.867 ms - - +2023-04-03 09:35:19 info: GET /api-docs/swagger-ui-bundle.js 304 5.224 ms - - +2023-04-03 09:35:19 info: GET /api-docs/swagger-ui-init.js 304 0.169 ms - - +2023-04-03 09:35:19 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.866 ms - - +2023-04-03 09:35:19 info: GET /api-docs/favicon-32x32.png 304 1.559 ms - - +2023-04-03 09:35:20 info: GET /api-docs/ 304 2.127 ms - - +2023-04-03 09:35:20 info: GET /api-docs/swagger-ui.css 304 0.525 ms - - +2023-04-03 09:35:20 info: GET /api-docs/swagger-ui-init.js 304 4.666 ms - - +2023-04-03 09:35:20 info: GET /api-docs/swagger-ui-bundle.js 304 8.399 ms - - +2023-04-03 09:35:20 info: GET /api-docs/swagger-ui-standalone-preset.js 304 8.528 ms - - +2023-04-03 09:35:20 info: GET /api-docs/favicon-32x32.png 304 0.923 ms - - +2023-04-03 09:35:20 info: GET /api-docs/ 304 0.829 ms - - +2023-04-03 09:35:20 info: GET /api-docs/swagger-ui-init.js 304 0.615 ms - - +2023-04-03 09:35:20 info: GET /api-docs/swagger-ui.css 304 4.259 ms - - +2023-04-03 09:35:20 info: GET /api-docs/swagger-ui-bundle.js 304 4.442 ms - - +2023-04-03 09:35:20 info: GET /api-docs/swagger-ui-standalone-preset.js 304 5.183 ms - - +2023-04-03 09:35:20 info: GET /api-docs/favicon-32x32.png 304 2.162 ms - - +2023-04-03 09:35:21 info: GET /api-docs/ 304 0.616 ms - - +2023-04-03 09:35:21 info: GET /api-docs/swagger-ui-init.js 304 1.238 ms - - +2023-04-03 09:35:21 info: GET /api-docs/swagger-ui.css 304 4.254 ms - - +2023-04-03 09:35:21 info: GET /api-docs/swagger-ui-bundle.js 304 9.313 ms - - +2023-04-03 09:35:21 info: GET /api-docs/swagger-ui-standalone-preset.js 304 9.390 ms - - +2023-04-03 09:35:21 info: GET /api-docs/favicon-32x32.png 304 0.760 ms - - +2023-04-03 09:35:21 info: GET /api-docs/ 304 1.347 ms - - +2023-04-03 09:35:21 info: GET /api-docs/swagger-ui.css 304 0.528 ms - - +2023-04-03 09:35:21 info: GET /api-docs/swagger-ui-init.js 304 0.577 ms - - +2023-04-03 09:35:21 info: GET /api-docs/swagger-ui-bundle.js 304 2.261 ms - - +2023-04-03 09:35:21 info: GET /api-docs/swagger-ui-standalone-preset.js 304 2.138 ms - - +2023-04-03 09:35:21 info: GET /api-docs/favicon-32x32.png 304 0.549 ms - - +2023-04-03 09:35:27 info: ================================= +2023-04-03 09:35:27 info: ======= ENV: development ======= +2023-04-03 09:35:27 info: 🚀 App listening on the port 8080 +2023-04-03 09:35:27 info: ================================= +2023-04-03 09:35:28 info: GET /api-docs/ 304 5.225 ms - - +2023-04-03 09:35:28 info: GET /api-docs/swagger-ui.css 304 0.830 ms - - +2023-04-03 09:35:28 info: GET /api-docs/swagger-ui-bundle.js 304 1.749 ms - - +2023-04-03 09:35:28 info: GET /api-docs/swagger-ui-init.js 304 0.155 ms - - +2023-04-03 09:35:28 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.793 ms - - +2023-04-03 09:35:28 info: GET /api-docs/favicon-32x32.png 304 0.499 ms - - +2023-04-03 09:38:31 info: ================================= +2023-04-03 09:38:31 info: ======= ENV: development ======= +2023-04-03 09:38:31 info: 🚀 App listening on the port 8080 +2023-04-03 09:38:31 info: ================================= +2023-04-03 09:38:35 info: GET /api-docs/ 304 6.004 ms - - +2023-04-03 09:38:35 info: GET /api-docs/swagger-ui.css 304 2.016 ms - - +2023-04-03 09:38:35 info: GET /api-docs/swagger-ui-bundle.js 304 3.014 ms - - +2023-04-03 09:38:35 info: GET /api-docs/swagger-ui-init.js 304 0.200 ms - - +2023-04-03 09:38:35 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.917 ms - - +2023-04-03 09:38:35 info: GET /api-docs/favicon-32x32.png 304 0.790 ms - - +2023-04-03 09:38:35 info: GET /api-docs/ 304 1.702 ms - - +2023-04-03 09:38:35 info: GET /api-docs/swagger-ui.css 304 3.789 ms - - +2023-04-03 09:38:35 info: GET /api-docs/swagger-ui-init.js 304 0.522 ms - - +2023-04-03 09:38:36 info: GET /api-docs/swagger-ui-bundle.js 304 8.317 ms - - +2023-04-03 09:38:36 info: GET /api-docs/swagger-ui-standalone-preset.js 304 10.324 ms - - +2023-04-03 09:38:36 info: GET /api-docs/favicon-32x32.png 304 0.675 ms - - +2023-04-03 09:42:34 info: ================================= +2023-04-03 09:42:34 info: ======= ENV: development ======= +2023-04-03 09:42:34 info: 🚀 App listening on the port 8080 +2023-04-03 09:42:34 info: ================================= +2023-04-03 09:42:56 info: ================================= +2023-04-03 09:42:56 info: ======= ENV: development ======= +2023-04-03 09:42:56 info: 🚀 App listening on the port 8080 +2023-04-03 09:42:56 info: ================================= +2023-04-03 09:42:58 info: ================================= +2023-04-03 09:42:58 info: ======= ENV: development ======= +2023-04-03 09:42:58 info: 🚀 App listening on the port 8080 +2023-04-03 09:42:58 info: ================================= +2023-04-03 09:43:01 info: GET /api-docs/ 304 6.128 ms - - +2023-04-03 09:43:01 info: GET /api-docs/swagger-ui.css 304 1.988 ms - - +2023-04-03 09:43:01 info: GET /api-docs/swagger-ui-bundle.js 304 4.235 ms - - +2023-04-03 09:43:01 info: GET /api-docs/swagger-ui-standalone-preset.js 304 3.416 ms - - +2023-04-03 09:43:01 info: GET /api-docs/swagger-ui-init.js 200 2.349 ms - - +2023-04-03 09:43:02 info: GET /api-docs/favicon-32x32.png 304 0.519 ms - - +2023-04-03 09:43:02 info: GET /api-docs/ 304 2.585 ms - - +2023-04-03 09:43:02 info: GET /api-docs/swagger-ui.css 304 1.927 ms - - +2023-04-03 09:43:02 info: GET /api-docs/swagger-ui-init.js 304 0.321 ms - - +2023-04-03 09:43:02 info: GET /api-docs/swagger-ui-bundle.js 304 3.397 ms - - +2023-04-03 09:43:02 info: GET /api-docs/swagger-ui-standalone-preset.js 304 3.354 ms - - +2023-04-03 09:43:02 info: GET /api-docs/favicon-32x32.png 304 0.846 ms - - +2023-04-03 09:45:02 info: ================================= +2023-04-03 09:45:02 info: ======= ENV: development ======= +2023-04-03 09:45:02 info: 🚀 App listening on the port 8080 +2023-04-03 09:45:02 info: ================================= +2023-04-03 09:46:01 info: ================================= +2023-04-03 09:46:01 info: ======= ENV: development ======= +2023-04-03 09:46:01 info: 🚀 App listening on the port 8080 +2023-04-03 09:46:01 info: ================================= +2023-04-03 09:46:06 info: GET /api-docs/ 304 8.427 ms - - +2023-04-03 09:46:06 info: GET /api-docs/swagger-ui.css 304 0.837 ms - - +2023-04-03 09:46:06 info: GET /api-docs/swagger-ui-bundle.js 304 1.531 ms - - +2023-04-03 09:46:06 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.615 ms - - +2023-04-03 09:46:06 info: GET /api-docs/swagger-ui-init.js 200 1.042 ms - - +2023-04-03 09:46:06 info: GET /api-docs/favicon-32x32.png 304 0.660 ms - - +2023-04-03 09:46:31 info: GET /api-docs/users 200 2.162 ms - - +2023-04-03 09:46:31 info: GET /api-docs/swagger-ui.css 304 1.342 ms - - +2023-04-03 09:46:31 info: GET /api-docs/swagger-ui-bundle.js 304 4.266 ms - - +2023-04-03 09:46:31 info: GET /api-docs/swagger-ui-init.js 304 0.242 ms - - +2023-04-03 09:46:31 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.400 ms - - +2023-04-03 09:46:33 info: GET /api-docs/ 304 1.881 ms - - +2023-04-03 09:46:33 info: GET /api-docs/swagger-ui-init.js 304 4.876 ms - - +2023-04-03 09:46:33 info: GET /api-docs/swagger-ui.css 304 8.068 ms - - +2023-04-03 09:46:33 info: GET /api-docs/swagger-ui-bundle.js 304 8.099 ms - - +2023-04-03 09:46:33 info: GET /api-docs/swagger-ui-standalone-preset.js 304 7.933 ms - - +2023-04-03 09:47:18 info: ================================= +2023-04-03 09:47:18 info: ======= ENV: development ======= +2023-04-03 09:47:18 info: 🚀 App listening on the port 8080 +2023-04-03 09:47:18 info: ================================= +2023-04-03 09:47:21 info: GET /api-docs/ 304 10.482 ms - - +2023-04-03 09:47:21 info: GET /api-docs/swagger-ui.css 304 1.444 ms - - +2023-04-03 09:47:21 info: GET /api-docs/swagger-ui-bundle.js 304 1.656 ms - - +2023-04-03 09:47:21 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.746 ms - - +2023-04-03 09:47:21 info: GET /api-docs/swagger-ui-init.js 200 1.211 ms - - +2023-04-03 09:47:22 info: GET /api-docs/favicon-32x32.png 304 0.613 ms - - +2023-04-03 09:47:27 info: ================================= +2023-04-03 09:47:27 info: ======= ENV: development ======= +2023-04-03 09:47:27 info: 🚀 App listening on the port 8080 +2023-04-03 09:47:27 info: ================================= +2023-04-03 09:47:29 info: GET /api-docs/ 304 8.717 ms - - +2023-04-03 09:47:29 info: GET /api-docs/swagger-ui.css 304 0.906 ms - - +2023-04-03 09:47:29 info: GET /api-docs/swagger-ui-bundle.js 304 1.461 ms - - +2023-04-03 09:47:29 info: GET /api-docs/swagger-ui-init.js 304 0.256 ms - - +2023-04-03 09:47:29 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.934 ms - - +2023-04-03 09:47:29 info: GET /api-docs/favicon-32x32.png 304 0.624 ms - - +2023-04-03 09:48:33 info: ================================= +2023-04-03 09:48:33 info: ======= ENV: development ======= +2023-04-03 09:48:33 info: 🚀 App listening on the port 8080 +2023-04-03 09:48:33 info: ================================= +2023-04-03 09:48:35 info: ================================= +2023-04-03 09:48:35 info: ======= ENV: development ======= +2023-04-03 09:48:35 info: 🚀 App listening on the port 8080 +2023-04-03 09:48:35 info: ================================= +2023-04-03 09:48:59 info: ================================= +2023-04-03 09:48:59 info: ======= ENV: development ======= +2023-04-03 09:48:59 info: 🚀 App listening on the port 8080 +2023-04-03 09:48:59 info: ================================= +2023-04-03 09:49:03 info: GET /api-docs/ 304 8.471 ms - - +2023-04-03 09:49:03 info: GET /api-docs/swagger-ui.css 304 2.052 ms - - +2023-04-03 09:49:03 info: GET /api-docs/swagger-ui-bundle.js 304 3.784 ms - - +2023-04-03 09:49:03 info: GET /api-docs/swagger-ui-init.js 304 0.184 ms - - +2023-04-03 09:49:03 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.042 ms - - +2023-04-03 09:49:03 info: GET /api-docs/favicon-32x32.png 304 0.651 ms - - +2023-04-03 09:49:23 info: ================================= +2023-04-03 09:49:23 info: ======= ENV: development ======= +2023-04-03 09:49:23 info: 🚀 App listening on the port 8080 +2023-04-03 09:49:23 info: ================================= +2023-04-03 09:50:34 info: ================================= +2023-04-03 09:50:34 info: ======= ENV: development ======= +2023-04-03 09:50:34 info: 🚀 App listening on the port 8080 +2023-04-03 09:50:34 info: ================================= +2023-04-03 09:51:54 info: ================================= +2023-04-03 09:51:54 info: ======= ENV: development ======= +2023-04-03 09:51:54 info: 🚀 App listening on the port 8080 +2023-04-03 09:51:54 info: ================================= +2023-04-03 09:51:57 info: GET /api-docs/ 304 6.647 ms - - +2023-04-03 09:51:57 info: GET /api-docs/swagger-ui.css 304 0.530 ms - - +2023-04-03 09:51:57 info: GET /api-docs/swagger-ui-bundle.js 304 0.433 ms - - +2023-04-03 09:51:57 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.853 ms - - +2023-04-03 09:51:57 info: GET /api-docs/swagger-ui-init.js 304 0.217 ms - - +2023-04-03 09:51:57 info: GET /api-docs/favicon-32x32.png 304 1.087 ms - - +2023-04-03 09:54:24 info: ================================= +2023-04-03 09:54:24 info: ======= ENV: development ======= +2023-04-03 09:54:24 info: 🚀 App listening on the port 8080 +2023-04-03 09:54:24 info: ================================= +2023-04-03 09:55:31 info: ================================= +2023-04-03 09:55:31 info: ======= ENV: development ======= +2023-04-03 09:55:31 info: 🚀 App listening on the port 8080 +2023-04-03 09:55:31 info: ================================= +2023-04-03 09:55:40 info: ================================= +2023-04-03 09:55:40 info: ======= ENV: development ======= +2023-04-03 09:55:40 info: 🚀 App listening on the port 8080 +2023-04-03 09:55:40 info: ================================= +2023-04-03 09:55:48 info: ================================= +2023-04-03 09:55:48 info: ======= ENV: development ======= +2023-04-03 09:55:48 info: 🚀 App listening on the port 8080 +2023-04-03 09:55:48 info: ================================= +2023-04-03 09:55:50 info: ================================= +2023-04-03 09:55:50 info: ======= ENV: development ======= +2023-04-03 09:55:50 info: 🚀 App listening on the port 8080 +2023-04-03 09:55:50 info: ================================= +2023-04-03 09:55:53 info: GET /api-docs/ 304 5.867 ms - - +2023-04-03 09:55:53 info: GET /api-docs/swagger-ui.css 304 0.884 ms - - +2023-04-03 09:55:53 info: GET /api-docs/swagger-ui-bundle.js 304 0.504 ms - - +2023-04-03 09:55:53 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.684 ms - - +2023-04-03 09:55:53 info: GET /api-docs/swagger-ui-init.js 304 0.237 ms - - +2023-04-03 09:55:54 info: GET /api-docs/favicon-32x32.png 304 1.712 ms - - +2023-04-03 09:55:54 info: GET /api-docs/ 304 2.045 ms - - +2023-04-03 09:55:54 info: GET /api-docs/swagger-ui.css 304 2.387 ms - - +2023-04-03 09:55:54 info: GET /api-docs/swagger-ui-bundle.js 304 3.711 ms - - +2023-04-03 09:55:54 info: GET /api-docs/swagger-ui-standalone-preset.js 304 4.030 ms - - +2023-04-03 09:55:54 info: GET /api-docs/swagger-ui-init.js 304 0.458 ms - - +2023-04-03 09:55:55 info: GET /api-docs/favicon-32x32.png 304 1.319 ms - - +2023-04-03 09:56:02 info: ================================= +2023-04-03 09:56:02 info: ======= ENV: development ======= +2023-04-03 09:56:02 info: 🚀 App listening on the port 8080 +2023-04-03 09:56:02 info: ================================= +2023-04-03 10:03:01 info: ================================= +2023-04-03 10:03:01 info: ======= ENV: development ======= +2023-04-03 10:03:01 info: 🚀 App listening on the port 8080 +2023-04-03 10:03:01 info: ================================= +2023-04-03 10:03:37 info: ================================= +2023-04-03 10:03:37 info: ======= ENV: development ======= +2023-04-03 10:03:37 info: 🚀 App listening on the port 8080 +2023-04-03 10:03:37 info: ================================= +2023-04-03 10:03:42 info: GET /api-docs/ 304 5.630 ms - - +2023-04-03 10:03:42 info: GET /api-docs/swagger-ui.css 304 2.205 ms - - +2023-04-03 10:03:42 info: GET /api-docs/swagger-ui-standalone-preset.js 304 4.447 ms - - +2023-04-03 10:03:42 info: GET /api-docs/swagger-ui-bundle.js 304 3.250 ms - - +2023-04-03 10:03:42 info: GET /api-docs/swagger-ui-init.js 200 2.261 ms - - +2023-04-03 10:03:42 info: GET /api-docs/favicon-32x32.png 304 2.302 ms - - +2023-04-03 10:03:53 info: ================================= +2023-04-03 10:03:53 info: ======= ENV: development ======= +2023-04-03 10:03:53 info: 🚀 App listening on the port 8080 +2023-04-03 10:03:53 info: ================================= +2023-04-03 10:03:55 info: GET /api-docs/ 304 9.299 ms - - +2023-04-03 10:03:55 info: GET /api-docs/swagger-ui.css 304 5.131 ms - - +2023-04-03 10:03:55 info: GET /api-docs/swagger-ui-bundle.js 304 5.462 ms - - +2023-04-03 10:03:55 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.825 ms - - +2023-04-03 10:03:55 info: GET /api-docs/swagger-ui-init.js 200 1.139 ms - - +2023-04-03 10:03:55 info: GET /api-docs/favicon-32x32.png 304 0.609 ms - - +2023-04-03 10:09:18 info: ================================= +2023-04-03 10:09:18 info: ======= ENV: development ======= +2023-04-03 10:09:18 info: 🚀 App listening on the port 8080 +2023-04-03 10:09:18 info: ================================= +2023-04-03 10:09:21 info: GET /api-docs/ 304 6.909 ms - - +2023-04-03 10:09:21 info: GET /api-docs/swagger-ui.css 304 1.766 ms - - +2023-04-03 10:09:21 info: GET /api-docs/swagger-ui-bundle.js 304 3.808 ms - - +2023-04-03 10:09:21 info: GET /api-docs/swagger-ui-init.js 304 0.461 ms - - +2023-04-03 10:09:21 info: GET /api-docs/swagger-ui-standalone-preset.js 304 2.105 ms - - +2023-04-03 10:09:21 info: GET /api-docs/favicon-32x32.png 304 0.467 ms - - +2023-04-03 10:09:26 info: GET /api-docs/ 304 2.128 ms - - +2023-04-03 10:09:26 info: GET /api-docs/swagger-ui.css 304 2.614 ms - - +2023-04-03 10:09:26 info: GET /api-docs/swagger-ui-bundle.js 304 3.889 ms - - +2023-04-03 10:09:26 info: GET /api-docs/swagger-ui-init.js 304 0.393 ms - - +2023-04-03 10:09:26 info: GET /api-docs/swagger-ui-standalone-preset.js 304 2.598 ms - - +2023-04-03 10:09:27 info: GET /api-docs/favicon-32x32.png 304 0.690 ms - - +2023-04-03 10:09:54 info: ================================= +2023-04-03 10:09:54 info: ======= ENV: development ======= +2023-04-03 10:09:54 info: 🚀 App listening on the port 8080 +2023-04-03 10:09:54 info: ================================= +2023-04-03 10:10:01 info: GET /api-docs/ 304 7.740 ms - - +2023-04-03 10:10:01 info: GET /api-docs/swagger-ui.css 304 1.582 ms - - +2023-04-03 10:10:01 info: GET /api-docs/swagger-ui-bundle.js 304 1.853 ms - - +2023-04-03 10:10:01 info: GET /api-docs/swagger-ui-init.js 304 0.163 ms - - +2023-04-03 10:10:01 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.777 ms - - +2023-04-03 10:10:01 info: GET /api-docs/favicon-32x32.png 304 0.456 ms - - +2023-04-03 10:10:44 info: ================================= +2023-04-03 10:10:44 info: ======= ENV: development ======= +2023-04-03 10:10:44 info: 🚀 App listening on the port 8080 +2023-04-03 10:10:44 info: ================================= +2023-04-03 10:10:47 info: GET /api-docs/ 304 5.634 ms - - +2023-04-03 10:10:47 info: GET /api-docs/swagger-ui.css 304 1.710 ms - - +2023-04-03 10:10:47 info: GET /api-docs/swagger-ui-bundle.js 304 4.768 ms - - +2023-04-03 10:10:47 info: GET /api-docs/swagger-ui-init.js 304 0.431 ms - - +2023-04-03 10:10:47 info: GET /api-docs/swagger-ui-standalone-preset.js 304 2.571 ms - - +2023-04-03 10:10:47 info: GET /api-docs/favicon-32x32.png 304 0.909 ms - - +2023-04-03 10:11:20 info: ================================= +2023-04-03 10:11:20 info: ======= ENV: development ======= +2023-04-03 10:11:20 info: 🚀 App listening on the port 8080 +2023-04-03 10:11:20 info: ================================= +2023-04-03 10:11:24 info: GET /api-docs/ 304 12.375 ms - - +2023-04-03 10:11:24 info: GET /api-docs/swagger-ui.css 304 0.901 ms - - +2023-04-03 10:11:24 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.507 ms - - +2023-04-03 10:11:24 info: GET /api-docs/swagger-ui-bundle.js 304 0.861 ms - - +2023-04-03 10:11:24 info: GET /api-docs/swagger-ui-init.js 304 0.351 ms - - +2023-04-03 10:11:24 info: GET /api-docs/favicon-32x32.png 304 0.591 ms - - +2023-04-03 10:11:45 info: ================================= +2023-04-03 10:11:45 info: ======= ENV: development ======= +2023-04-03 10:11:45 info: 🚀 App listening on the port 8080 +2023-04-03 10:11:45 info: ================================= +2023-04-03 10:11:48 info: GET /api-docs/ 304 7.797 ms - - +2023-04-03 10:11:48 info: GET /api-docs/swagger-ui.css 304 0.789 ms - - +2023-04-03 10:11:48 info: GET /api-docs/swagger-ui-bundle.js 304 0.405 ms - - +2023-04-03 10:11:48 info: GET /api-docs/swagger-ui-init.js 304 0.236 ms - - +2023-04-03 10:11:48 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.294 ms - - +2023-04-03 10:11:48 info: GET /api-docs/favicon-32x32.png 304 1.265 ms - - +2023-04-03 10:11:55 info: ================================= +2023-04-03 10:11:55 info: ======= ENV: development ======= +2023-04-03 10:11:55 info: 🚀 App listening on the port 8080 +2023-04-03 10:11:55 info: ================================= +2023-04-03 10:12:00 info: GET /api-docs/ 304 5.721 ms - - +2023-04-03 10:12:00 info: GET /api-docs/swagger-ui.css 304 1.039 ms - - +2023-04-03 10:12:00 info: GET /api-docs/swagger-ui-bundle.js 304 0.471 ms - - +2023-04-03 10:12:00 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.659 ms - - +2023-04-03 10:12:00 info: GET /api-docs/swagger-ui-init.js 200 1.168 ms - - +2023-04-03 10:12:00 info: GET /api-docs/favicon-32x32.png 304 1.219 ms - - +2023-04-03 10:15:19 info: ================================= +2023-04-03 10:15:19 info: ======= ENV: development ======= +2023-04-03 10:15:19 info: 🚀 App listening on the port 8080 +2023-04-03 10:15:19 info: ================================= +2023-04-03 10:17:02 info: ================================= +2023-04-03 10:17:02 info: ======= ENV: development ======= +2023-04-03 10:17:02 info: 🚀 App listening on the port 8080 +2023-04-03 10:17:02 info: ================================= +2023-04-03 10:17:06 info: GET /api-docs/ 304 9.189 ms - - +2023-04-03 10:17:06 info: GET /api-docs/swagger-ui.css 304 0.910 ms - - +2023-04-03 10:17:06 info: GET /api-docs/swagger-ui-bundle.js 304 1.981 ms - - +2023-04-03 10:17:06 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.796 ms - - +2023-04-03 10:17:06 info: GET /api-docs/swagger-ui-init.js 200 1.148 ms - - +2023-04-03 10:17:06 info: GET /api-docs/favicon-32x32.png 304 1.271 ms - - +2023-04-03 10:18:57 info: ================================= +2023-04-03 10:18:57 info: ======= ENV: development ======= +2023-04-03 10:18:57 info: 🚀 App listening on the port 8080 +2023-04-03 10:18:57 info: ================================= +2023-04-03 10:19:01 info: GET /api-docs/ 304 7.602 ms - - +2023-04-03 10:19:01 info: GET /api-docs/swagger-ui.css 304 1.032 ms - - +2023-04-03 10:19:01 info: GET /api-docs/swagger-ui-bundle.js 304 1.947 ms - - +2023-04-03 10:19:01 info: GET /api-docs/swagger-ui-standalone-preset.js 304 2.012 ms - - +2023-04-03 10:19:01 info: GET /api-docs/swagger-ui-init.js 200 1.292 ms - - +2023-04-03 10:19:01 info: GET /api-docs/favicon-32x32.png 304 1.205 ms - - +2023-04-03 10:20:33 info: ================================= +2023-04-03 10:20:33 info: ======= ENV: development ======= +2023-04-03 10:20:33 info: 🚀 App listening on the port 8080 +2023-04-03 10:20:33 info: ================================= +2023-04-03 10:20:35 info: GET /api-docs/ 304 5.962 ms - - +2023-04-03 10:20:36 info: GET /api-docs/swagger-ui.css 304 1.227 ms - - +2023-04-03 10:20:36 info: GET /api-docs/swagger-ui-bundle.js 304 1.291 ms - - +2023-04-03 10:20:36 info: GET /api-docs/swagger-ui-standalone-preset.js 304 2.166 ms - - +2023-04-03 10:20:36 info: GET /api-docs/swagger-ui-init.js 200 1.169 ms - - +2023-04-03 10:20:36 info: GET /api-docs/favicon-32x32.png 304 0.608 ms - - +2023-04-03 10:23:17 info: ================================= +2023-04-03 10:23:17 info: ======= ENV: development ======= +2023-04-03 10:23:17 info: 🚀 App listening on the port 8080 +2023-04-03 10:23:17 info: ================================= +2023-04-03 10:24:17 info: ================================= +2023-04-03 10:24:17 info: ======= ENV: development ======= +2023-04-03 10:24:17 info: 🚀 App listening on the port 8080 +2023-04-03 10:24:17 info: ================================= +2023-04-03 10:24:28 info: GET /api-docs/ 304 6.296 ms - - +2023-04-03 10:24:28 info: GET /api-docs/swagger-ui.css 304 0.827 ms - - +2023-04-03 10:24:28 info: GET /api-docs/swagger-ui-bundle.js 304 0.448 ms - - +2023-04-03 10:24:28 info: GET /api-docs/swagger-ui-init.js 304 0.261 ms - - +2023-04-03 10:24:28 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.384 ms - - +2023-04-03 10:24:28 info: GET /api-docs/favicon-32x32.png 304 0.546 ms - - +2023-04-03 10:26:20 info: ================================= +2023-04-03 10:26:20 info: ======= ENV: development ======= +2023-04-03 10:26:20 info: 🚀 App listening on the port 8080 +2023-04-03 10:26:20 info: ================================= +2023-04-03 10:26:28 info: GET /api-docs/ 304 11.614 ms - - +2023-04-03 10:26:28 info: GET /api-docs/swagger-ui.css 304 3.160 ms - - +2023-04-03 10:26:28 info: GET /api-docs/swagger-ui-bundle.js 304 3.478 ms - - +2023-04-03 10:26:28 info: GET /api-docs/swagger-ui-standalone-preset.js 304 2.520 ms - - +2023-04-03 10:26:28 info: GET /api-docs/swagger-ui-init.js 200 1.303 ms - - +2023-04-03 10:26:28 info: GET /api-docs/favicon-32x32.png 304 1.919 ms - - +2023-04-03 10:26:54 info: ================================= +2023-04-03 10:26:54 info: ======= ENV: development ======= +2023-04-03 10:26:54 info: 🚀 App listening on the port 8080 +2023-04-03 10:26:54 info: ================================= +2023-04-03 10:27:45 info: ================================= +2023-04-03 10:27:45 info: ======= ENV: development ======= +2023-04-03 10:27:45 info: 🚀 App listening on the port 8080 +2023-04-03 10:27:45 info: ================================= +2023-04-03 10:27:49 info: GET /api-docs/ 304 8.025 ms - - +2023-04-03 10:27:49 info: GET /api-docs/swagger-ui.css 304 1.657 ms - - +2023-04-03 10:27:49 info: GET /api-docs/swagger-ui-bundle.js 304 2.962 ms - - +2023-04-03 10:27:49 info: GET /api-docs/swagger-ui-init.js 304 0.243 ms - - +2023-04-03 10:27:49 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.363 ms - - +2023-04-03 10:27:49 info: GET /api-docs/favicon-32x32.png 304 0.750 ms - - +2023-04-03 10:27:56 info: ================================= +2023-04-03 10:27:56 info: ======= ENV: development ======= +2023-04-03 10:27:56 info: 🚀 App listening on the port 8080 +2023-04-03 10:27:56 info: ================================= +2023-04-03 10:27:58 info: GET /api-docs/ 304 6.829 ms - - +2023-04-03 10:27:58 info: GET /api-docs/swagger-ui.css 304 1.148 ms - - +2023-04-03 10:27:58 info: GET /api-docs/swagger-ui-bundle.js 304 0.658 ms - - +2023-04-03 10:27:58 info: GET /api-docs/swagger-ui-init.js 304 0.242 ms - - +2023-04-03 10:27:58 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.960 ms - - +2023-04-03 10:27:58 info: GET /api-docs/favicon-32x32.png 304 0.878 ms - - +2023-04-03 10:27:59 info: GET /api-docs/ 304 2.572 ms - - +2023-04-03 10:27:59 info: GET /api-docs/swagger-ui-init.js 304 0.425 ms - - +2023-04-03 10:27:59 info: GET /api-docs/swagger-ui.css 304 4.408 ms - - +2023-04-03 10:27:59 info: GET /api-docs/swagger-ui-bundle.js 304 5.157 ms - - +2023-04-03 10:27:59 info: GET /api-docs/swagger-ui-standalone-preset.js 304 7.357 ms - - +2023-04-03 10:27:59 info: GET /api-docs/favicon-32x32.png 304 0.777 ms - - +2023-04-03 10:33:13 info: ================================= +2023-04-03 10:33:13 info: ======= ENV: development ======= +2023-04-03 10:33:13 info: 🚀 App listening on the port 8080 +2023-04-03 10:33:13 info: ================================= +2023-04-03 10:33:17 info: GET /api-docs/ 304 6.508 ms - - +2023-04-03 10:33:17 info: GET /api-docs/swagger-ui-bundle.js 304 2.448 ms - - +2023-04-03 10:33:17 info: GET /api-docs/swagger-ui.css 304 3.795 ms - - +2023-04-03 10:33:17 info: GET /api-docs/swagger-ui-init.js 304 0.314 ms - - +2023-04-03 10:33:17 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.280 ms - - +2023-04-03 10:33:17 info: GET /api-docs/favicon-32x32.png 304 0.761 ms - - +2023-04-03 10:33:41 info: ================================= +2023-04-03 10:33:41 info: ======= ENV: development ======= +2023-04-03 10:33:41 info: 🚀 App listening on the port 8080 +2023-04-03 10:33:41 info: ================================= +2023-04-03 10:33:43 info: GET /api-docs/ 304 6.700 ms - - +2023-04-03 10:33:43 info: GET /api-docs/swagger-ui.css 304 2.520 ms - - +2023-04-03 10:33:43 info: GET /api-docs/swagger-ui-bundle.js 304 0.884 ms - - +2023-04-03 10:33:43 info: GET /api-docs/swagger-ui-standalone-preset.js 304 2.147 ms - - +2023-04-03 10:33:43 info: GET /api-docs/swagger-ui-init.js 200 1.317 ms - - +2023-04-03 10:33:43 info: GET /api-docs/favicon-32x32.png 304 1.389 ms - - +2023-04-03 10:34:58 info: ================================= +2023-04-03 10:34:58 info: ======= ENV: development ======= +2023-04-03 10:34:58 info: 🚀 App listening on the port 8080 +2023-04-03 10:34:58 info: ================================= +2023-04-03 10:35:05 info: GET /api-docs/ 304 5.044 ms - - +2023-04-03 10:35:05 info: GET /api-docs/swagger-ui.css 304 5.677 ms - - +2023-04-03 10:35:05 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.564 ms - - +2023-04-03 10:35:05 info: GET /api-docs/swagger-ui-init.js 200 3.332 ms - - +2023-04-03 10:35:05 info: GET /api-docs/swagger-ui-bundle.js 304 0.687 ms - - +2023-04-03 10:35:14 info: GET /api/v1/api-docs/ 404 3.421 ms - 155 +2023-04-03 10:35:26 info: ================================= +2023-04-03 10:35:26 info: ======= ENV: development ======= +2023-04-03 10:35:26 info: 🚀 App listening on the port 8080 +2023-04-03 10:35:26 info: ================================= +2023-04-03 10:35:34 info: ================================= +2023-04-03 10:35:34 info: ======= ENV: development ======= +2023-04-03 10:35:34 info: 🚀 App listening on the port 8080 +2023-04-03 10:35:34 info: ================================= +2023-04-03 10:35:37 info: GET /api-docs/ 304 6.611 ms - - +2023-04-03 10:35:37 info: GET /api-docs/swagger-ui.css 304 0.948 ms - - +2023-04-03 10:35:37 info: GET /api-docs/swagger-ui-bundle.js 304 1.328 ms - - +2023-04-03 10:35:37 info: GET /api-docs/swagger-ui-init.js 304 0.216 ms - - +2023-04-03 10:35:37 info: GET /api-docs/swagger-ui-standalone-preset.js 304 0.813 ms - - +2023-04-03 10:35:37 info: GET /api-docs/favicon-32x32.png 304 0.603 ms - - +2023-04-03 10:36:09 info: ================================= +2023-04-03 10:36:09 info: ======= ENV: development ======= +2023-04-03 10:36:09 info: 🚀 App listening on the port 8080 +2023-04-03 10:36:09 info: ================================= +2023-04-03 10:36:19 info: ================================= +2023-04-03 10:36:19 info: ======= ENV: development ======= +2023-04-03 10:36:19 info: 🚀 App listening on the port 8080 +2023-04-03 10:36:19 info: ================================= +2023-04-03 10:36:21 info: GET /api-docs/ 304 7.103 ms - - +2023-04-03 10:36:21 info: GET /api-docs/swagger-ui.css 304 0.715 ms - - +2023-04-03 10:36:21 info: GET /api-docs/swagger-ui-bundle.js 304 0.517 ms - - +2023-04-03 10:36:21 info: GET /api-docs/swagger-ui-standalone-preset.js 304 1.234 ms - - +2023-04-03 10:36:21 info: GET /api-docs/swagger-ui-init.js 200 1.053 ms - - +2023-04-03 10:36:21 info: GET /api-docs/favicon-32x32.png 304 1.229 ms - - +2023-04-03 10:44:10 info: GET /api-docs/ 304 1.687 ms - - +2023-04-03 10:44:10 info: GET /api-docs/swagger-ui.css 304 4.418 ms - - +2023-04-03 10:44:10 info: GET /api-docs/swagger-ui-bundle.js 304 4.938 ms - - +2023-04-03 10:44:10 info: GET /api-docs/swagger-ui-init.js 304 0.435 ms - - +2023-04-03 10:44:10 info: GET /api-docs/swagger-ui-standalone-preset.js 304 2.414 ms - - +2023-04-03 10:44:10 info: GET /api-docs/favicon-32x32.png 304 0.731 ms - - diff --git a/be/src/logs/error/2023-04-03.log b/be/src/logs/error/2023-04-03.log index fa8ae18..a50f72c 100644 --- a/be/src/logs/error/2023-04-03.log +++ b/be/src/logs/error/2023-04-03.log @@ -65,3 +65,121 @@ Argument where of type UserWhereUniqueInput needs at least one argument. Availab Note: Lines with ? are optional. +2023-04-03 09:13:21 error: uncaughtException: swaggerJSDoc is not defined +ReferenceError: swaggerJSDoc is not defined + at App.initializeSwagger (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:117:19) + at new App (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:31:10) + at file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/server.js:8:13 + at ModuleJob.run (node:internal/modules/esm/module_job:193:25) + at async Promise.all (index 0) + at async ESMLoader.import (node:internal/modules/esm/loader:530:24) + at async loadESM (node:internal/process/esm_loader:91:5) + at async handleMainPromise (node:internal/modules/run_main:65:12) +2023-04-03 09:31:26 error: uncaughtException: Invalid URL +TypeError [ERR_INVALID_URL]: Invalid URL + at new NodeError (node:internal/errors:393:5) + at URL.onParseError (node:internal/url:565:9) + at new URL (node:internal/url:645:5) + at new URL (node:internal/url:642:22) + at App.initializeSwagger (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:109:41) + at new App (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:33:10) + at file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/server.js:8:13 + at ModuleJob.run (node:internal/modules/esm/module_job:193:25) + at async Promise.all (index 0) + at async ESMLoader.import (node:internal/modules/esm/loader:530:24) +2023-04-03 09:31:31 error: uncaughtException: Invalid URL +TypeError [ERR_INVALID_URL]: Invalid URL + at new NodeError (node:internal/errors:393:5) + at URL.onParseError (node:internal/url:565:9) + at new URL (node:internal/url:645:5) + at new URL (node:internal/url:642:22) + at App.initializeSwagger (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:109:41) + at new App (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:33:10) + at file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/server.js:8:13 + at ModuleJob.run (node:internal/modules/esm/module_job:193:25) + at async Promise.all (index 0) + at async ESMLoader.import (node:internal/modules/esm/loader:530:24) +2023-04-03 09:31:40 error: uncaughtException: Invalid URL +TypeError [ERR_INVALID_URL]: Invalid URL + at new NodeError (node:internal/errors:393:5) + at URL.onParseError (node:internal/url:565:9) + at new URL (node:internal/url:645:5) + at new URL (node:internal/url:642:22) + at App.initializeSwagger (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:109:41) + at new App (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:33:10) + at file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/server.js:8:13 + at ModuleJob.run (node:internal/modules/esm/module_job:193:25) + at async Promise.all (index 0) + at async ESMLoader.import (node:internal/modules/esm/loader:530:24) +2023-04-03 09:50:51 error: uncaughtException: EISDIR: illegal operation on a directory, read +Error: EISDIR: illegal operation on a directory, read + at Object.readSync (node:fs:748:3) + at tryReadSync (node:fs:448:20) + at Object.readFileSync (node:fs:494:19) + at extractAnnotations (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/utils.js:54:26) + at build (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/specification.js:200:9) + at module.exports (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/lib.js:32:10) + at App.initializeSwagger (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:125:19) + at new App (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:33:10) + at file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/server.js:8:13 + at ModuleJob.run (node:internal/modules/esm/module_job:193:25) +2023-04-03 09:50:56 error: uncaughtException: Cannot read properties of undefined (reading 'schemas') +TypeError: Cannot read properties of undefined (reading 'schemas') + at organize (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/specification.js:157:32) + at build (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/specification.js:320:7) + at module.exports (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/lib.js:32:10) + at App.initializeSwagger (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:125:19) + at new App (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:33:10) + at file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/server.js:8:13 + at ModuleJob.run (node:internal/modules/esm/module_job:193:25) + at async Promise.all (index 0) + at async ESMLoader.import (node:internal/modules/esm/loader:530:24) + at async loadESM (node:internal/process/esm_loader:91:5) +2023-04-03 09:52:09 error: uncaughtException: Cannot read properties of undefined (reading 'schemas') +TypeError: Cannot read properties of undefined (reading 'schemas') + at organize (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/specification.js:157:32) + at build (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/specification.js:320:7) + at module.exports (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/lib.js:32:10) + at App.initializeSwagger (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:125:19) + at new App (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:33:10) + at file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/server.js:8:13 + at ModuleJob.run (node:internal/modules/esm/module_job:193:25) + at async Promise.all (index 0) + at async ESMLoader.import (node:internal/modules/esm/loader:530:24) + at async loadESM (node:internal/process/esm_loader:91:5) +2023-04-03 09:52:32 error: uncaughtException: Cannot read properties of undefined (reading 'schemas') +TypeError: Cannot read properties of undefined (reading 'schemas') + at organize (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/specification.js:157:32) + at build (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/specification.js:320:7) + at module.exports (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/lib.js:32:10) + at App.initializeSwagger (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:125:19) + at new App (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:33:10) + at file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/server.js:8:13 + at ModuleJob.run (node:internal/modules/esm/module_job:193:25) + at async Promise.all (index 0) + at async ESMLoader.import (node:internal/modules/esm/loader:530:24) + at async loadESM (node:internal/process/esm_loader:91:5) +2023-04-03 09:55:17 error: uncaughtException: EISDIR: illegal operation on a directory, read +Error: EISDIR: illegal operation on a directory, read + at Object.readSync (node:fs:748:3) + at tryReadSync (node:fs:448:20) + at Object.readFileSync (node:fs:494:19) + at extractAnnotations (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/utils.js:54:26) + at build (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/specification.js:200:9) + at module.exports (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/lib.js:32:10) + at App.initializeSwagger (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:124:19) + at new App (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:33:10) + at file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/server.js:8:13 + at ModuleJob.run (node:internal/modules/esm/module_job:193:25) +2023-04-03 10:10:40 error: uncaughtException: EISDIR: illegal operation on a directory, read +Error: EISDIR: illegal operation on a directory, read + at Object.readSync (node:fs:748:3) + at tryReadSync (node:fs:448:20) + at Object.readFileSync (node:fs:494:19) + at extractAnnotations (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/utils.js:54:26) + at build (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/specification.js:200:9) + at module.exports (/Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/node_modules/swagger-jsdoc/src/lib.js:32:10) + at App.initializeSwagger (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:134:19) + at new App (file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/app.js:33:10) + at file:///Users/owenroth/Desktop/LPL/projects/veritext-replacement-template/be/server.js:8:13 + at ModuleJob.run (node:internal/modules/esm/module_job:193:25) diff --git a/be/src/routes/user.routes.js b/be/src/routes/user.routes.js index 41f0702..2da43d0 100644 --- a/be/src/routes/user.routes.js +++ b/be/src/routes/user.routes.js @@ -1,3 +1,62 @@ +/** + * @swagger + * components: + * schemas: + * User: + * type: object + * required: + * - email + * properties: + * id: + * type: string + * description: The auto-generated id of the book + * email: + * type: string + * description: users email + * admin: + * type: boolean + * description: if the user is an admin + * activities: + * type: array + * description: The activities the user has completed + * createdAt: + * type: string + * format: date + * description: The date the user was added + * example: + * id: d5fE_asz + * email: veritext@gmail.com + * admin: true + * activities: [1, 2, 3] + * createdAt: 2020-03-10T04:05:06.157Z + */ +/** + * @swagger + * tags: + * name: Users + * description: Users management and retrieval + * /users: + * get: + * summary: Get all users + * tags: [Users] + * requestBody: + * required: false + * content: + * application/json: + * schema: + * $ref: '#/components/schemas/User' + * responses: + * 200: + * description: Users Retrieved. + * content: + * application/json: + * schema: + * $ref: '#/components/schemas/User' + * 500: + * description: Some server error + * + */ + import { Router } from 'express' import { UsersController } from '../controllers/users.controller.js' diff --git a/be/swagger.yml b/be/swagger.yml new file mode 100644 index 0000000..ecb82ba --- /dev/null +++ b/be/swagger.yml @@ -0,0 +1,123 @@ +tags: +- name: users + description: users API + +paths: +# [GET] users + /users: + get: + tags: + - users + summary: Find All Users + responses: + 200: + description: 'OK' + 500: + description: 'Server Error' + +# [POST] users + post: + tags: + - users + summary: Add User + parameters: + - name: body + in: body + description: user Data + required: true + schema: + $ref: '#/definitions/users' + responses: + 201: + description: 'Created' + 400: + description: 'Bad Request' + 409: + description: 'Conflict' + 500: + description: 'Server Error' + +# [GET] users/id + /users/{id}: + get: + tags: + - users + summary: Find User By Id + parameters: + - name: id + in: path + description: User Id + required: true + type: integer + responses: + 200: + description: 'OK' + 409: + description: 'Conflict' + 500: + description: 'Server Error' + +# [PUT] users/id + put: + tags: + - users + summary: Update User By Id + parameters: + - name: id + in: path + description: user Id + required: true + type: integer + - name: body + in: body + description: user Data + required: true + schema: + $ref: '#/definitions/users' + responses: + 200: + description: 'OK' + 400: + description: 'Bad Request' + 409: + description: 'Conflict' + 500: + description: 'Server Error' + +# [DELETE] users/id + delete: + tags: + - users + summary: Delete User By Id + parameters: + - name: id + in: path + description: user Id + required: true + type: integer + responses: + 200: + description: 'OK' + 409: + description: 'Conflict' + 500: + description: 'Server Error' + +# definitions +definitions: + users: + type: object + required: + - email + - password + properties: + email: + type: string + description: user Email + password: + type: string + description: user Password + +schemes: + - https + - http \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 8efed7b..cdfb7b4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -10,6 +10,38 @@ "@jridgewell/gen-mapping" "^0.1.0" "@jridgewell/trace-mapping" "^0.3.9" +"@apidevtools/json-schema-ref-parser@^9.0.6": + version "9.1.2" + resolved "https://registry.yarnpkg.com/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.1.2.tgz#8ff5386b365d4c9faa7c8b566ff16a46a577d9b8" + integrity sha512-r1w81DpR+KyRWd3f+rk6TNqMgedmAxZP5v5KWlXQWlgMUUtyEJch0DKEci1SorPMiSeM8XPl7MZ3miJ60JIpQg== + dependencies: + "@jsdevtools/ono" "^7.1.3" + "@types/json-schema" "^7.0.6" + call-me-maybe "^1.0.1" + js-yaml "^4.1.0" + +"@apidevtools/openapi-schemas@^2.0.4": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz#9fa08017fb59d80538812f03fc7cac5992caaa17" + integrity sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ== + +"@apidevtools/swagger-methods@^3.0.2": + version "3.0.2" + resolved "https://registry.yarnpkg.com/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz#b789a362e055b0340d04712eafe7027ddc1ac267" + integrity sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg== + +"@apidevtools/swagger-parser@10.0.3": + version "10.0.3" + resolved "https://registry.yarnpkg.com/@apidevtools/swagger-parser/-/swagger-parser-10.0.3.tgz#32057ae99487872c4dd96b314a1ab4b95d89eaf5" + integrity sha512-sNiLY51vZOmSPFZA5TF35KZ2HbgYklQnTSDnkghamzLb3EkNtcQnrBQEj5AOCxHpTtXpqMCRM1CrmV2rG6nw4g== + dependencies: + "@apidevtools/json-schema-ref-parser" "^9.0.6" + "@apidevtools/openapi-schemas" "^2.0.4" + "@apidevtools/swagger-methods" "^3.0.2" + "@jsdevtools/ono" "^7.1.3" + call-me-maybe "^1.0.1" + z-schema "^5.0.1" + "@babel/cli@^7.5.5": version "7.21.0" resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.21.0.tgz#1868eb70e9824b427fc607610cce8e9e7889e7e1" @@ -1579,6 +1611,11 @@ "@jridgewell/resolve-uri" "3.1.0" "@jridgewell/sourcemap-codec" "1.4.14" +"@jsdevtools/ono@^7.1.3": + version "7.1.3" + resolved "https://registry.yarnpkg.com/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" + integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== + "@launchpadlab/babel-preset@^2.1.1": version "2.1.1" resolved "https://registry.yarnpkg.com/@launchpadlab/babel-preset/-/babel-preset-2.1.1.tgz#e4be23ea83f2eb273029f5d9c17d0b8de34a981c" @@ -2012,7 +2049,7 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/json-schema@*", "@types/json-schema@^7.0.4", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": +"@types/json-schema@*", "@types/json-schema@^7.0.4", "@types/json-schema@^7.0.5", "@types/json-schema@^7.0.6", "@types/json-schema@^7.0.8", "@types/json-schema@^7.0.9": version "7.0.11" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== @@ -3070,6 +3107,11 @@ call-bind@^1.0.0, call-bind@^1.0.2: function-bind "^1.1.1" get-intrinsic "^1.0.2" +call-me-maybe@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-me-maybe/-/call-me-maybe-1.0.2.tgz#03f964f19522ba643b1b0693acb9152fe2074baa" + integrity sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ== + callsites@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" @@ -3349,6 +3391,11 @@ combined-stream@^1.0.6, combined-stream@~1.0.6: dependencies: delayed-stream "~1.0.0" +commander@6.2.0: + version "6.2.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.0.tgz#b990bfb8ac030aedc6d11bc04d1488ffef56db75" + integrity sha512-zP4jEKbe8SHzKJYQmq8Y9gYjtO/POJLgIdKgV7B9qNmABVFVc+ctqSX6iXh4mCpJfRBOabiZ2YKPg8ciDw6C+Q== + commander@^10.0.0: version "10.0.0" resolved "https://registry.yarnpkg.com/commander/-/commander-10.0.0.tgz#71797971162cd3cf65f0b9d24eb28f8d303acdf1" @@ -3901,6 +3948,13 @@ dns-packet@^5.2.2: dependencies: "@leichtgewicht/ip-codec" "^2.0.1" +doctrine@3.0.0, doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== + dependencies: + esutils "^2.0.2" + doctrine@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" @@ -3908,13 +3962,6 @@ doctrine@^2.1.0: dependencies: esutils "^2.0.2" -doctrine@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" - integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== - dependencies: - esutils "^2.0.2" - document.contains@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/document.contains/-/document.contains-1.0.2.tgz#4260abad67a6ae9e135c1be83d68da0db169d5f0" @@ -5045,6 +5092,18 @@ glob-to-regexp@^0.4.1: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== +glob@7.1.6: + version "7.1.6" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" + integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + glob@^7.0.3, glob@^7.1.1, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@^7.2.0: version "7.2.3" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.3.tgz#b8df0fb802bbfa8e89bd1d938b4e16578ed44f2b" @@ -6617,11 +6676,21 @@ lodash.get@^3.7.0: lodash._baseget "^3.0.0" lodash._topath "^3.0.0" +lodash.get@^4.4.2: + version "4.4.2" + resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" + integrity sha512-z+Uw/vLuy6gQe8cfaFWD7p0wVv8fJl3mbzXh33RS+0oW2wvUqiRXiQ69gLWSLpgB5/6sU+r6BlQR0MBILadqTQ== + lodash.isarray@^3.0.0: version "3.0.4" resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" integrity sha512-JwObCrNJuT0Nnbuecmqr5DgtuBppuCvGD9lxjFpAzwnVtdGoDQ1zig+5W8k5/6Gcn0gZ3936HDAlGd28i7sOGQ== +lodash.isequal@^4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/lodash.isequal/-/lodash.isequal-4.5.0.tgz#415c4478f2bcc30120c22ce10ed3226f7d3e18e0" + integrity sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ== + lodash.isequalwith@^4.4.0: version "4.4.0" resolved "https://registry.yarnpkg.com/lodash.isequalwith/-/lodash.isequalwith-4.4.0.tgz#266726ddd528f854f21f4ea98a065606e0fbc6b0" @@ -6632,6 +6701,11 @@ lodash.merge@^4.6.2: resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash.mergewith@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/lodash.mergewith/-/lodash.mergewith-4.6.2.tgz#617121f89ac55f59047c7aec1ccd6654c6590f55" + integrity sha512-GK3g5RPZWTRSeLSpgP8Xhra+pnjBC56q9FZYe1d5RN3TJ35dbkGy3YqBSMbyCrlbi+CM9Z3Jk5yTL7RCsqboyQ== + lodash.once@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/lodash.once/-/lodash.once-4.1.1.tgz#0dd3971213c7c56df880977d504c88fb471a97ac" @@ -8876,6 +8950,37 @@ supports-preserve-symlinks-flag@^1.0.0: resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== +swagger-jsdoc@^6.2.8: + version "6.2.8" + resolved "https://registry.yarnpkg.com/swagger-jsdoc/-/swagger-jsdoc-6.2.8.tgz#6d33d9fb07ff4a7c1564379c52c08989ec7d0256" + integrity sha512-VPvil1+JRpmJ55CgAtn8DIcpBs0bL5L3q5bVQvF4tAW/k/9JYSj7dCpaYCAv5rufe0vcCbBRQXGvzpkWjvLklQ== + dependencies: + commander "6.2.0" + doctrine "3.0.0" + glob "7.1.6" + lodash.mergewith "^4.6.2" + swagger-parser "^10.0.3" + yaml "2.0.0-1" + +swagger-parser@^10.0.3: + version "10.0.3" + resolved "https://registry.yarnpkg.com/swagger-parser/-/swagger-parser-10.0.3.tgz#04cb01c18c3ac192b41161c77f81e79309135d03" + integrity sha512-nF7oMeL4KypldrQhac8RyHerJeGPD1p2xDh900GPvc+Nk7nWP6jX2FcC7WmkinMoAmoO774+AFXcWsW8gMWEIg== + dependencies: + "@apidevtools/swagger-parser" "10.0.3" + +swagger-ui-dist@>=4.11.0: + version "4.18.2" + resolved "https://registry.yarnpkg.com/swagger-ui-dist/-/swagger-ui-dist-4.18.2.tgz#323308f1c1d87a7c22ce3e273c31835eb680a71b" + integrity sha512-oVBoBl9Dg+VJw8uRWDxlyUyHoNEDC0c1ysT6+Boy6CTgr2rUcLcfPon4RvxgS2/taNW6O0+US+Z/dlAsWFjOAQ== + +swagger-ui-express@^4.6.2: + version "4.6.2" + resolved "https://registry.yarnpkg.com/swagger-ui-express/-/swagger-ui-express-4.6.2.tgz#61b2cb9fd7932cdccff99e0efdf700a5459e493c" + integrity sha512-MHIOaq9JrTTB3ygUJD+08PbjM5Tt/q7x80yz9VTFIatw8j5uIWKcr90S0h5NLMzFEDC6+eVprtoeA5MDZXCUKQ== + dependencies: + swagger-ui-dist ">=4.11.0" + symbol-observable@^1.0.4: version "1.2.0" resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.2.0.tgz#c22688aed4eab3cdc2dfeacbb561660560a00804" @@ -9313,6 +9418,11 @@ validate.js@^0.11.1: resolved "https://registry.yarnpkg.com/validate.js/-/validate.js-0.11.1.tgz#f51c3c6c4a56e6380a20a7eb104245037f2a540d" integrity sha512-ubovdQHQysHs18KhKIsFjGDb/uwWqCR2P4aPg42aIndOGIcsbEnIkN4iSK6OKQoqRbLtogXJ5hm3amgrQbnR8w== +validator@^13.7.0: + version "13.9.0" + resolved "https://registry.yarnpkg.com/validator/-/validator-13.9.0.tgz#33e7b85b604f3bbce9bb1a05d5c3e22e1c2ff855" + integrity sha512-B+dGG8U3fdtM0/aNK4/X8CXq/EcxU2WPrPEkJGslb47qyHsxmbggTWK0yEA4qnYVNF+nxNlN88o14hIcPmSIEA== + value-equal@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/value-equal/-/value-equal-1.0.1.tgz#1e0b794c734c5c0cade179c437d356d931a34d6c" @@ -9674,6 +9784,11 @@ yallist@^4.0.0: resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== +yaml@2.0.0-1: + version "2.0.0-1" + resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.0.0-1.tgz#8c3029b3ee2028306d5bcf396980623115ff8d18" + integrity sha512-W7h5dEhywMKenDJh2iX/LABkbFnBxasD27oyXWDS/feDsxiw0dD5ncXdYXgkvAsXIY2MpW/ZKkr9IU30DBdMNQ== + yaml@^1.7.2: version "1.10.2" resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b" @@ -9714,3 +9829,14 @@ yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== + +z-schema@^5.0.1: + version "5.0.5" + resolved "https://registry.yarnpkg.com/z-schema/-/z-schema-5.0.5.tgz#6805a48c5366a6125cae0e58752babfd503daf32" + integrity sha512-D7eujBWkLa3p2sIpJA0d1pr7es+a7m0vFAnZLlCEKq/Ij2k0MLi9Br2UPxoxdYystm5K1yeBGzub0FlYUEWj2Q== + dependencies: + lodash.get "^4.4.2" + lodash.isequal "^4.5.0" + validator "^13.7.0" + optionalDependencies: + commander "^9.4.1"