mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
feat: update swagger, secure cookie
This commit is contained in:
1 parent
d939b7eb4d
commit
d745531a14
5 files changed
+26
-4
No files matched your search
+16
-1
@@ -285,7 +285,7 @@ paths:
|
||||
type: string
|
||||
example: Logged out successfully
|
||||
|
||||
/auth/check:
|
||||
/auth/check-username:
|
||||
get:
|
||||
summary: Check if the username is already taken
|
||||
parameters:
|
||||
@@ -319,6 +319,21 @@ paths:
|
||||
type: string
|
||||
example: Username is already taken
|
||||
|
||||
/auth/check-session:
|
||||
get:
|
||||
summary: Check if the session is valid
|
||||
responses:
|
||||
'200':
|
||||
description: Result
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
loggedIn:
|
||||
type: boolean
|
||||
example: true
|
||||
|
||||
/quests:
|
||||
get:
|
||||
summary: Get quests list
|
||||
|
||||
Reference in new issue
Block a user