Skip to content

Commit e56a424

Browse files
committed
docs(swagger): logout
1 parent e84e635 commit e56a424

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

docs/swagger/routes/auth.js

+27
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,33 @@ module.exports = {
104104
},
105105
},
106106
},
107+
'/logout': {
108+
post: {
109+
tags: ['Auth'],
110+
summary: 'Logout',
111+
requestBody: {
112+
required: true,
113+
content: {
114+
'application/x-www-form-urlencoded': {
115+
schema: {
116+
type: 'object',
117+
properties: {
118+
UserId: {
119+
type: 'string',
120+
},
121+
},
122+
required: ['UserId'],
123+
},
124+
},
125+
},
126+
},
127+
responses: {
128+
200: {
129+
description: 'Terminate your api access',
130+
},
131+
},
132+
},
133+
},
107134
'/profile': {
108135
get: {
109136
tags: ['Auth'],

0 commit comments

Comments
 (0)