Atsushi Nakatsugawa před 1 rokem
rodič
revize
80f56bb2a4
1 změnil soubory, kde provedl 13 přidání a 2 odebrání
  1. 13 2
      apps/app/src/server/routes/apiv3/admin-home.js

+ 13 - 2
apps/app/src/server/routes/apiv3/admin-home.js

@@ -33,7 +33,16 @@ const router = express.Router();
  *            description: environment variables
  *            description: environment variables
  *            additionalProperties:
  *            additionalProperties:
  *              type: string
  *              type: string
- *            example: '{"FILE_UPLOAD":"mongodb","APP_SITE_URL":"http://localhost:3000","ELASTICSEARCH_URI":"http://elasticsearch:9200/growi","ELASTICSEARCH_REQUEST_TIMEOUT":15000,"ELASTICSEARCH_REJECT_UNAUTHORIZED":true,"OGP_URI":"http://ogp:8088","QUESTIONNAIRE_SERVER_ORIGIN":"http://host.docker.internal:3003"}'
+ *            example: >
+ *              '{
+ *                "FILE_UPLOAD":"mongodb",
+ *                "APP_SITE_URL":"http://localhost:3000",
+ *                "ELASTICSEARCH_URI":"http://elasticsearch:9200/growi",
+ *                "ELASTICSEARCH_REQUEST_TIMEOUT":15000,
+ *                "ELASTICSEARCH_REJECT_UNAUTHORIZED":true,
+ *                "OGP_URI":"http://ogp:8088",
+ *                "QUESTIONNAIRE_SERVER_ORIGIN":"http://host.docker.internal:3003"
+ *              }'
  *          isV5Compatible:
  *          isV5Compatible:
  *            type: boolean
  *            type: boolean
  *            description: This value is true if this GROWI is compatible v5.
  *            description: This value is true if this GROWI is compatible v5.
@@ -59,9 +68,11 @@ module.exports = (crowi) => {
    *
    *
    *    /admin-home/:
    *    /admin-home/:
    *      get:
    *      get:
-   *        tags: [Admin]
+   *        tags: [AdminHome]
    *        operationId: getAdminHome
    *        operationId: getAdminHome
    *        summary: /admin-home
    *        summary: /admin-home
+   *        security:
+   *          - cookieAuth: []
    *        description: Get adminHome parameters
    *        description: Get adminHome parameters
    *        responses:
    *        responses:
    *          200:
    *          200: