correct Definition
MODIFY
src/assets/server/rest/v1/docs/e-mobility-oas.json
src/assets/server/rest/v1/docs/e-mobility-oas.json
"example": 1
},
"expiryDate": {
- "type": "date-time",
+ "type": "string",
+ "format": "date-time",
"description": "Required. This contains the date and time when the reservation ends."
},
"idTag": {
},
"reservationId": {
"type": "number",
- "description": "Required. Unique id for this reservation."
+ "description": "Required. Unique id for this reservation.",
+ "example": 12
}
},
"required": [
],
"responses": {
"200": {
- "description": "Charging Station has been successfully reset"
+ "description": "Charging Station has been successfully reserved",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "status": {
+ "type": "string"
+ }
+ }
+ },
+ "examples": {
+ "accepted": {
+ "summary": "Accepted",
+ "value": {
+ "status": "Accepted"
+ }
+ },
+ "rejected": {
+ "summary": "Rejected",
+ "value": {
+ "status": "Rejected"
+ }
+ }
+ }
+ }
+ }
},
"401": {
"$ref": "#/components/responses/UnauthorizedError"

correct Definition