Skip to content

Commit

Permalink
Add missing cases for travel type enum
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthetechie committed Jul 30, 2023
1 parent 33e30ad commit ca2e8c2
Show file tree
Hide file tree
Showing 123 changed files with 158 additions and 132 deletions.
6 changes: 5 additions & 1 deletion DEVELOPING.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@ openapi-generator generate -i https://api.stadiamaps.com/openapi.yaml -g python-
## Tests

The OpenAPI generator adds some unit tests, but these appear to be more or less worthless?
We add our own integration tests in `test/integration`.
We add our own integration tests in `test/integration`. You can run these via the following command line:

```shell
STADIA_API_KEY="YOUR-API-KEY" pytest
```

## Caveats

Expand Down
2 changes: 1 addition & 1 deletion docs/RouteManeuver.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Name | Type | Description | Notes
**transit_info** | **Dict[str, object]** | Public transit info (not currently supported). | [optional]
**verbal_multi_cue** | **bool** | True if the `verbal_pre_transition_instruction` has been appended with the verbal instruction of the next maneuver. | [optional] [default to False]
**travel_mode** | [**TravelMode**](TravelMode.md) | |
**travel_type** | **str** | |
**travel_type** | **str** | The type of travel over the maneuver. This can be thought of as a specialization of the travel mode. For example, vehicular travel may be via car, motorcycle, etc.; and travel via bicycle may be via a road bike, mountain bike, etc. |
**bss_maneuver_type** | **str** | Describes a bike share action when using bikeshare routing. | [optional]

## Example
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "stadiamaps"
version = "1.0.6"
version = "1.0.7"
description = "Stadia Maps Geospatial APIs"
authors = ["Stadia Maps Support <[email protected]>"]
license = "BSD-3-Clause"
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand All @@ -22,7 +22,7 @@
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
NAME = "stadiamaps"
VERSION = "1.0.6"
VERSION = "1.0.7"
PYTHON_REQUIRES = ">=3.7"
REQUIRES = [
"urllib3 >= 1.25.3",
Expand Down
4 changes: 2 additions & 2 deletions stadiamaps/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Do not edit the class manually.
"""


__version__ = "1.0.6"
__version__ = "1.0.7"

# import apis into sdk package
from stadiamaps.api.geocoding_api import GeocodingApi
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/api/geocoding_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/api/geospatial_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/api/routing_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
4 changes: 2 additions & 2 deletions stadiamaps/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -77,7 +77,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'stadiamaps/1.0.6/python'
self.user_agent = 'stadiamaps/1.0.7/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
6 changes: 3 additions & 3 deletions stadiamaps/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down Expand Up @@ -397,8 +397,8 @@ def to_debug_report(self):
return "Python SDK Debug Report:\n"\
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: 5.0.5\n"\
"SDK Package Version: 1.0.6".\
"Version of the API: 5.0.6\n"\
"SDK Package Version: 1.0.7".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/access.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/admin_region.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/administrative.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/auto_costing_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/auto_costing_options_all_of.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/base_costing_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/base_trace_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/bicycle_costing_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/bicycle_costing_options_all_of.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/bike_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/coordinate.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/costing_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/costing_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/directions_options.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/distance_unit.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/edge_sign.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/edge_use.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/end_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/geo_attributes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/geo_json_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/geo_json_geometry_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/geo_json_line_string.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/geo_json_line_string_all_of.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/geo_json_point.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/geo_json_point_all_of.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
2 changes: 1 addition & 1 deletion stadiamaps/models/geo_json_polygon.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
The Stadia Maps Geospatial APIs provide you with the data you need to build awesome applications. # noqa: E501
The version of the OpenAPI document: 5.0.5
The version of the OpenAPI document: 5.0.6
Contact: [email protected]
Generated by OpenAPI Generator (https://openapi-generator.tech)
Expand Down
Loading

0 comments on commit ca2e8c2

Please sign in to comment.