-
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.
Add navigation aids + OSRM format support
- Loading branch information
1 parent
697625b
commit 92320f0
Showing
131 changed files
with
12,833 additions
and
235 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 |
---|---|---|
@@ -1 +1 @@ | ||
7.7.0 | ||
7.8.0 |
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 |
---|---|---|
|
@@ -14,10 +14,10 @@ | |
* | ||
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. | ||
* | ||
* The version of the OpenAPI document: 6.6.3 | ||
* The version of the OpenAPI document: 7.0.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.7.0 | ||
* Generator version: 7.8.0 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -14,10 +14,10 @@ | |
* | ||
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. | ||
* | ||
* The version of the OpenAPI document: 6.6.3 | ||
* The version of the OpenAPI document: 7.0.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.7.0 | ||
* Generator version: 7.8.0 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -14,10 +14,10 @@ | |
* | ||
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. | ||
* | ||
* The version of the OpenAPI document: 6.6.3 | ||
* The version of the OpenAPI document: 7.0.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.7.0 | ||
* Generator version: 7.8.0 | ||
*/ | ||
|
||
/** | ||
|
@@ -1066,7 +1066,7 @@ public function nearestRoadsRequest($nearest_roads_request = null, string $conte | |
* | ||
* @throws \OpenAPI\Client\ApiException on non-2xx response or if the response body is not in the expected format | ||
* @throws \InvalidArgumentException | ||
* @return \OpenAPI\Client\Model\RouteResponse | ||
* @return \OpenAPI\Client\Model\Route200Response | ||
*/ | ||
public function optimizedRoute($optimized_route_request = null, string $contentType = self::contentTypes['optimizedRoute'][0]) | ||
{ | ||
|
@@ -1084,7 +1084,7 @@ public function optimizedRoute($optimized_route_request = null, string $contentT | |
* | ||
* @throws \OpenAPI\Client\ApiException on non-2xx response or if the response body is not in the expected format | ||
* @throws \InvalidArgumentException | ||
* @return array of \OpenAPI\Client\Model\RouteResponse, HTTP status code, HTTP response headers (array of strings) | ||
* @return array of \OpenAPI\Client\Model\Route200Response, HTTP status code, HTTP response headers (array of strings) | ||
*/ | ||
public function optimizedRouteWithHttpInfo($optimized_route_request = null, string $contentType = self::contentTypes['optimizedRoute'][0]) | ||
{ | ||
|
@@ -1127,11 +1127,11 @@ public function optimizedRouteWithHttpInfo($optimized_route_request = null, stri | |
|
||
switch($statusCode) { | ||
case 200: | ||
if ('\OpenAPI\Client\Model\RouteResponse' === '\SplFileObject') { | ||
if ('\OpenAPI\Client\Model\Route200Response' === '\SplFileObject') { | ||
$content = $response->getBody(); //stream goes to serializer | ||
} else { | ||
$content = (string) $response->getBody(); | ||
if ('\OpenAPI\Client\Model\RouteResponse' !== 'string') { | ||
if ('\OpenAPI\Client\Model\Route200Response' !== 'string') { | ||
try { | ||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR); | ||
} catch (\JsonException $exception) { | ||
|
@@ -1149,13 +1149,13 @@ public function optimizedRouteWithHttpInfo($optimized_route_request = null, stri | |
} | ||
|
||
return [ | ||
ObjectSerializer::deserialize($content, '\OpenAPI\Client\Model\RouteResponse', []), | ||
ObjectSerializer::deserialize($content, '\OpenAPI\Client\Model\Route200Response', []), | ||
$response->getStatusCode(), | ||
$response->getHeaders() | ||
]; | ||
} | ||
|
||
$returnType = '\OpenAPI\Client\Model\RouteResponse'; | ||
$returnType = '\OpenAPI\Client\Model\Route200Response'; | ||
if ($returnType === '\SplFileObject') { | ||
$content = $response->getBody(); //stream goes to serializer | ||
} else { | ||
|
@@ -1188,7 +1188,7 @@ public function optimizedRouteWithHttpInfo($optimized_route_request = null, stri | |
case 200: | ||
$data = ObjectSerializer::deserialize( | ||
$e->getResponseBody(), | ||
'\OpenAPI\Client\Model\RouteResponse', | ||
'\OpenAPI\Client\Model\Route200Response', | ||
$e->getResponseHeaders() | ||
); | ||
$e->setResponseObject($data); | ||
|
@@ -1232,7 +1232,7 @@ function ($response) { | |
*/ | ||
public function optimizedRouteAsyncWithHttpInfo($optimized_route_request = null, string $contentType = self::contentTypes['optimizedRoute'][0]) | ||
{ | ||
$returnType = '\OpenAPI\Client\Model\RouteResponse'; | ||
$returnType = '\OpenAPI\Client\Model\Route200Response'; | ||
$request = $this->optimizedRouteRequest($optimized_route_request, $contentType); | ||
|
||
return $this->client | ||
|
@@ -1371,7 +1371,7 @@ public function optimizedRouteRequest($optimized_route_request = null, string $c | |
* | ||
* @throws \OpenAPI\Client\ApiException on non-2xx response or if the response body is not in the expected format | ||
* @throws \InvalidArgumentException | ||
* @return \OpenAPI\Client\Model\RouteResponse | ||
* @return \OpenAPI\Client\Model\Route200Response | ||
*/ | ||
public function route($route_request = null, string $contentType = self::contentTypes['route'][0]) | ||
{ | ||
|
@@ -1389,7 +1389,7 @@ public function route($route_request = null, string $contentType = self::content | |
* | ||
* @throws \OpenAPI\Client\ApiException on non-2xx response or if the response body is not in the expected format | ||
* @throws \InvalidArgumentException | ||
* @return array of \OpenAPI\Client\Model\RouteResponse, HTTP status code, HTTP response headers (array of strings) | ||
* @return array of \OpenAPI\Client\Model\Route200Response, HTTP status code, HTTP response headers (array of strings) | ||
*/ | ||
public function routeWithHttpInfo($route_request = null, string $contentType = self::contentTypes['route'][0]) | ||
{ | ||
|
@@ -1432,11 +1432,11 @@ public function routeWithHttpInfo($route_request = null, string $contentType = s | |
|
||
switch($statusCode) { | ||
case 200: | ||
if ('\OpenAPI\Client\Model\RouteResponse' === '\SplFileObject') { | ||
if ('\OpenAPI\Client\Model\Route200Response' === '\SplFileObject') { | ||
$content = $response->getBody(); //stream goes to serializer | ||
} else { | ||
$content = (string) $response->getBody(); | ||
if ('\OpenAPI\Client\Model\RouteResponse' !== 'string') { | ||
if ('\OpenAPI\Client\Model\Route200Response' !== 'string') { | ||
try { | ||
$content = json_decode($content, false, 512, JSON_THROW_ON_ERROR); | ||
} catch (\JsonException $exception) { | ||
|
@@ -1454,13 +1454,13 @@ public function routeWithHttpInfo($route_request = null, string $contentType = s | |
} | ||
|
||
return [ | ||
ObjectSerializer::deserialize($content, '\OpenAPI\Client\Model\RouteResponse', []), | ||
ObjectSerializer::deserialize($content, '\OpenAPI\Client\Model\Route200Response', []), | ||
$response->getStatusCode(), | ||
$response->getHeaders() | ||
]; | ||
} | ||
|
||
$returnType = '\OpenAPI\Client\Model\RouteResponse'; | ||
$returnType = '\OpenAPI\Client\Model\Route200Response'; | ||
if ($returnType === '\SplFileObject') { | ||
$content = $response->getBody(); //stream goes to serializer | ||
} else { | ||
|
@@ -1493,7 +1493,7 @@ public function routeWithHttpInfo($route_request = null, string $contentType = s | |
case 200: | ||
$data = ObjectSerializer::deserialize( | ||
$e->getResponseBody(), | ||
'\OpenAPI\Client\Model\RouteResponse', | ||
'\OpenAPI\Client\Model\Route200Response', | ||
$e->getResponseHeaders() | ||
); | ||
$e->setResponseObject($data); | ||
|
@@ -1537,7 +1537,7 @@ function ($response) { | |
*/ | ||
public function routeAsyncWithHttpInfo($route_request = null, string $contentType = self::contentTypes['route'][0]) | ||
{ | ||
$returnType = '\OpenAPI\Client\Model\RouteResponse'; | ||
$returnType = '\OpenAPI\Client\Model\Route200Response'; | ||
$request = $this->routeRequest($route_request, $contentType); | ||
|
||
return $this->client | ||
|
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 |
---|---|---|
|
@@ -14,10 +14,10 @@ | |
* | ||
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. | ||
* | ||
* The version of the OpenAPI document: 6.6.3 | ||
* The version of the OpenAPI document: 7.0.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.7.0 | ||
* Generator version: 7.8.0 | ||
*/ | ||
|
||
/** | ||
|
@@ -50,7 +50,7 @@ class ApiException extends Exception | |
/** | ||
* The HTTP header of the server response. | ||
* | ||
* @var string[]|null | ||
* @var string[][]|null | ||
*/ | ||
protected $responseHeaders; | ||
|
||
|
@@ -66,7 +66,7 @@ class ApiException extends Exception | |
* | ||
* @param string $message Error message | ||
* @param int $code HTTP status code | ||
* @param string[]|null $responseHeaders HTTP response header | ||
* @param string[][]|null $responseHeaders HTTP response header | ||
* @param \stdClass|string|null $responseBody HTTP decoded body of the server response either as \stdClass or string | ||
*/ | ||
public function __construct($message = "", $code = 0, $responseHeaders = [], $responseBody = null) | ||
|
@@ -79,7 +79,7 @@ public function __construct($message = "", $code = 0, $responseHeaders = [], $re | |
/** | ||
* Gets the HTTP response header | ||
* | ||
* @return string[]|null HTTP response header | ||
* @return string[][]|null HTTP response header | ||
*/ | ||
public function getResponseHeaders() | ||
{ | ||
|
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 |
---|---|---|
|
@@ -14,10 +14,10 @@ | |
* | ||
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. | ||
* | ||
* The version of the OpenAPI document: 6.6.3 | ||
* The version of the OpenAPI document: 7.0.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.7.0 | ||
* Generator version: 7.8.0 | ||
*/ | ||
|
||
/** | ||
|
@@ -433,7 +433,7 @@ public static function toDebugReport() | |
$report = 'PHP SDK (OpenAPI\Client) Debug Report:' . PHP_EOL; | ||
$report .= ' OS: ' . php_uname() . PHP_EOL; | ||
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL; | ||
$report .= ' The version of the OpenAPI document: 6.6.3' . PHP_EOL; | ||
$report .= ' The version of the OpenAPI document: 7.0.0' . PHP_EOL; | ||
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL; | ||
|
||
return $report; | ||
|
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 |
---|---|---|
|
@@ -14,10 +14,10 @@ | |
* | ||
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. | ||
* | ||
* The version of the OpenAPI document: 6.6.3 | ||
* The version of the OpenAPI document: 7.0.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.7.0 | ||
* Generator version: 7.8.0 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -15,10 +15,10 @@ | |
* | ||
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. | ||
* | ||
* The version of the OpenAPI document: 6.6.3 | ||
* The version of the OpenAPI document: 7.0.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.7.0 | ||
* Generator version: 7.8.0 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -15,10 +15,10 @@ | |
* | ||
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. | ||
* | ||
* The version of the OpenAPI document: 6.6.3 | ||
* The version of the OpenAPI document: 7.0.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.7.0 | ||
* Generator version: 7.8.0 | ||
*/ | ||
|
||
/** | ||
|
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 |
---|---|---|
|
@@ -15,10 +15,10 @@ | |
* | ||
* The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. | ||
* | ||
* The version of the OpenAPI document: 6.6.3 | ||
* The version of the OpenAPI document: 7.0.0 | ||
* Contact: [email protected] | ||
* Generated by: https://openapi-generator.tech | ||
* Generator version: 7.7.0 | ||
* Generator version: 7.8.0 | ||
*/ | ||
|
||
/** | ||
|
Oops, something went wrong.