Skip to content

Commit a71eecd

Browse files
committed
fix: docs swagger refresh token & logout
1 parent 8c023d0 commit a71eecd

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/swagger/routes/auth.js

+12
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,12 @@ module.exports = {
7878
post: {
7979
tags: ['Auth'],
8080
summary: 'Get Access Token',
81+
produces: ['application/json'],
82+
security: [
83+
{
84+
auth_token: [],
85+
},
86+
],
8187
requestBody: {
8288
required: true,
8389
content: {
@@ -108,6 +114,12 @@ module.exports = {
108114
post: {
109115
tags: ['Auth'],
110116
summary: 'Logout',
117+
produces: ['application/json'],
118+
security: [
119+
{
120+
auth_token: [],
121+
},
122+
],
111123
requestBody: {
112124
required: true,
113125
content: {

0 commit comments

Comments
 (0)