فهرست منبع

remove unnecessary file

Yuki Takei 1 سال پیش
والد
کامیت
b6446eb24b
1فایلهای تغییر یافته به همراه0 افزوده شده و 37 حذف شده
  1. 0 37
      apps/app/bin/github-actions/openapi/swagger-definition-apiv3.js

+ 0 - 37
apps/app/bin/github-actions/openapi/swagger-definition-apiv3.js

@@ -1,37 +0,0 @@
-const path = require('node:path');
-
-const pkg = require('../../package.json');
-
-const apisBasePath = path.resolve(process.env.WORKSPACE_ROOT ?? '../../', 'apps/app');
-
-console.log(`apisBasePath: ${apisBasePath}`);
-module.exports = {
-  openapi: '3.0.1',
-  info: {
-    title: 'GROWI REST API v3',
-    version: pkg.version,
-  },
-  servers: [
-    {
-      url: 'https://demo.growi.org/_api/v3',
-    },
-  ],
-  apis: [
-    './src/server/routes/apiv3/**/*.{js,ts}',
-    './src/server/models/openapi/**/*.{js,ts}',
-  ],
-  security: [
-    {
-      api_key: [],
-    },
-  ],
-  components: {
-    securitySchemes: {
-      api_key: {
-        type: 'apiKey',
-        name: 'access_token',
-        in: 'query',
-      },
-    },
-  },
-};