mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-08 03:20:12 +08:00
Connect to mongodb, define schemas
This commit is contained in:
1 parent
d51a75e5bc
commit
50443b96e0
13 files changed
+216
-12
No files matched your search
+4
-4
@@ -38,9 +38,9 @@ paths:
|
||||
- signed-in
|
||||
summary: create a new session for current user
|
||||
parameters:
|
||||
- name: exercise_id
|
||||
- name: quest_id
|
||||
in: query
|
||||
description: pass the exercise id
|
||||
description: pass the quest id
|
||||
required: true
|
||||
style: form
|
||||
explode: true
|
||||
@@ -274,7 +274,7 @@ components:
|
||||
email:
|
||||
type: string
|
||||
format: email
|
||||
Exercise:
|
||||
Quest:
|
||||
type: object
|
||||
properties:
|
||||
name:
|
||||
@@ -290,7 +290,7 @@ components:
|
||||
user_id:
|
||||
type: string
|
||||
format: uuid
|
||||
exercise_id:
|
||||
quest_id:
|
||||
type: string
|
||||
format: uuid
|
||||
created_at:
|
||||
|
||||
Reference in new issue
Block a user