- Added A TON of stuff, separated everything neatly and cleaned most models
This commit is contained in:
10
validations/IngredientValidation.js
Normal file
10
validations/IngredientValidation.js
Normal file
@@ -0,0 +1,10 @@
|
||||
const Ingredient = {
|
||||
"id": "/IngredientValidation",
|
||||
"type": Object,
|
||||
"properties": {
|
||||
"name": { "type": "string" },
|
||||
},
|
||||
"required": ["name"]
|
||||
}
|
||||
|
||||
module.exports = Ingredient
|
||||
Reference in New Issue
Block a user