Working get and post endpoitns
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
const courseSchema = {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"course_name": {"type": "string"},
|
||||
"name": {"type": "string"},
|
||||
"num_tests": {"type": "number"},
|
||||
"num_questions_per_test": {"type": "number"},
|
||||
"answers": {"type": "array"}
|
||||
},
|
||||
"required": ["course_name", "num_tests", "num_questions_per_test", "answers"]
|
||||
"required": ["name", "num_tests", "num_questions_per_test", "answers"]
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user