forked from WEB-IB-SS26/development-ib
fixed the endpoint and schema with case sensisitivity for a working version.
parent
1c9ae7c8c8
commit
648d9b6071
|
|
@ -20,46 +20,46 @@
|
||||||
"schema":{
|
"schema":{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"Vorname":{
|
"vorname":{
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"example":"Alice"
|
"example":"Alice"
|
||||||
},
|
},
|
||||||
"Nachname":{
|
"nachname":{
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"example":"Ecila"
|
"example":"Ecila"
|
||||||
},
|
},
|
||||||
"Email":{
|
"email":{
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"example":"Alice@mail.de"
|
"example":"Alice@mail.de"
|
||||||
},
|
},
|
||||||
"Telefon":{
|
"telefon":{
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"example":"0123/456789"
|
"example":"0123/456789"
|
||||||
},
|
},
|
||||||
"Session":{
|
"session":{
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"enum": ["vormittag","nachmittag","abendsession","wochenende"],
|
"enum": ["vormittag","nachmittag","abendsession","wochenende"],
|
||||||
"example":"vormittag"
|
"example":"vormittag"
|
||||||
},
|
},
|
||||||
"Agb":{
|
"agb":{
|
||||||
"type":"boolean",
|
"type":"boolean",
|
||||||
"example": true
|
"example": true
|
||||||
},
|
},
|
||||||
"Newsletter":{
|
"newsletter":{
|
||||||
"type":"boolean",
|
"type":"boolean",
|
||||||
"example": false
|
"example": false
|
||||||
},
|
},
|
||||||
"Equipment":{
|
"equipment":{
|
||||||
"type":"boolean",
|
"type":"boolean",
|
||||||
"example": false
|
"example": false
|
||||||
},
|
},
|
||||||
"Format":{
|
"format":{
|
||||||
"type":"string",
|
"type":"string",
|
||||||
"enum": ["praesenz","online"],
|
"enum": ["praesenz","online"],
|
||||||
"example":"online"
|
"example":"online"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["Vorname", "Nachname","Agb","Format"]
|
"required": ["vorname", "nachname","agb","format"]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue