-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
32e896e
commit 1631495
Showing
10 changed files
with
54 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
required: | ||
- status_code | ||
- timestamp | ||
properties: | ||
data: | ||
description: Contains the actual response data object or list of objects from each request, depending on the cardinality of the response data, this is an array (card. * or +), or a single object (card. 1 or ?) | ||
status_code: | ||
type: number | ||
status_message: | ||
type: string | ||
timestamp: | ||
type: string | ||
format: date-time | ||
example: "2020-01-01T00:00:00Z" |
35 changes: 15 additions & 20 deletions
35
openapi/components/responses/ChargingPreferencesResponse.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
required: | ||
- status_code | ||
- timestamp | ||
type: object | ||
properties: | ||
status_code: | ||
type: integer | ||
format: int32 | ||
status_message: | ||
type: string | ||
data: | ||
type: string | ||
enum: | ||
- ACCEPTED | ||
- DEPARTURE_REQUIRED | ||
- ENERGY_NEED_REQUIRED | ||
- NOT_POSSIBLE | ||
- PROFILE_TYPE_NOT_SUPPORTED | ||
timestamp: | ||
type: string | ||
description: Success | ||
content: | ||
application/json: | ||
schema: | ||
allOf: | ||
- $ref: ./BaseResponse.yaml | ||
- properties: | ||
data: | ||
type: string | ||
enum: | ||
- ACCEPTED | ||
- DEPARTURE_REQUIRED | ||
- ENERGY_NEED_REQUIRED | ||
- NOT_POSSIBLE | ||
- PROFILE_TYPE_NOT_SUPPORTED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters