Przeglądaj źródła

Merge pull request #9360 from goofmint/features/update_swagger_base_v3

support(jsdoc): Add Security schema
Yuki Takei 1 rok temu
rodzic
commit
ae126eba25
1 zmienionych plików z 5 dodań i 0 usunięć
  1. 5 0
      apps/app/bin/swagger-jsdoc/definition-apiv3.js

+ 5 - 0
apps/app/bin/swagger-jsdoc/definition-apiv3.js

@@ -23,6 +23,11 @@ module.exports = {
         name: 'access_token',
         name: 'access_token',
         in: 'query',
         in: 'query',
       },
       },
+      cookieAuth: {
+        type: 'apiKey',
+        in: 'cookie',
+        name: 'connect.sid',
+      },
     },
     },
   },
   },
   'x-tagGroups': [
   'x-tagGroups': [