OAS path must be camel case
MODIFY
src/assets/server/rest/v1/docs/e-mobility-oas.json
src/assets/server/rest/v1/docs/e-mobility-oas.json
{
"openapi": "3.0.3",
"servers": [
+ {
+ "description": "Localhost - Development",
+ "url": "http://localhost:8080/v1"
+ },
{
"description": "SCP - Production system",
"url": "https://sap-ev-rest-server-prod.cfapps.eu10.hana.ondemand.com/v1"
{
"description": "SCP - Quality system",
"url": "https://sap-ev-rest-server-qa.cfapps.eu10.hana.ondemand.com/v1"
- },
- {
- "description": "Localhost - Development",
- "url": "http://localhost:8080/v1"
}
],
"info": {
"description": "Retrieve a Charging Station",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
}
],
"tags": [
"description": "Delete a Charging Station",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
}
],
"tags": [
"description": "Reset a Charging Station",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
},
{
"in": "query",
"description": "Clear a Charging Station cache",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
}
],
"tags": [
"description": "Get a Charging Station configuration",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
},
{
"in": "query",
"description": "Download connector QRCode as PDF",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
},
{
- "$ref": "#/components/parameters/ConnectorID"
+ "$ref": "#/components/parameters/connectorID"
},
{
"$ref": "#/components/parameters/SiteAreaID"
"description": "Get Charging Station composite schedule",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
}
],
"tags": [
"description": "Get Charging Station diagnostics",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
},
{
"in": "path",
"description": "Get Charging Station OCPP Parameters",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
}
],
"tags": [
"description": "Export Charging Station OCPP Parameters as CSV file",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
}
],
"tags": [
"description": "Get Charging Station transactions",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
},
{
"$ref": "#/components/parameters/Issuer"
}
},
{
- "$ref": "#/components/parameters/ConnectorID"
+ "$ref": "#/components/parameters/connectorID"
},
{
"in": "query",
"description": "Delete a Charging Station profile",
"parameters": [
{
- "$ref": "#/components/parameters/ChargingStationID"
+ "$ref": "#/components/parameters/chargingStationID"
}
],
"tags": [
}
},
"ChargingStationID": {
+ "in": "query",
+ "name": "ChargingStationID",
+ "description": "Charging Station ID",
+ "required": false,
+ "schema": {
+ "type": "string"
+ }
+ },
+ "chargingStationID": {
"in": "path",
"name": "id",
"description": "Charging station ID",
"type": "string"
}
},
- "ConnectorID": {
+ "connectorID": {
"in": "path",
"name": "connectorId",
"required": true,

OAS path must be camel case