Format and test fixes
This commit is contained in:
10
api/validation/commonSchemas.js
Normal file
10
api/validation/commonSchemas.js
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
"email": {
|
||||
"type": "string",
|
||||
"format": "email"
|
||||
},
|
||||
"id": {
|
||||
"type": "string",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user