Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): OpenAPI spec update via Stainless API #45

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 17
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-2f06829fbda889b14e1a2adc5f3bf80df5ca926d166ef9ff487a132080fc6437.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-e1da29690ebfb4c6c07ede3d292a4f6babcd2202d6f3bb38bfa287ae04dfeb50.yml
24 changes: 12 additions & 12 deletions src/onebusaway/types/stops_for_location_retrieve_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,36 @@


class StopsForLocationRetrieveResponseDataList(BaseModel):
id: Optional[str] = None
id: str

code: Optional[str] = None
lat: float

direction: Optional[str] = None
lon: float

lat: Optional[float] = None
name: str

location_type: Optional[int] = FieldInfo(alias="locationType", default=None)
parent: str

lon: Optional[float] = None
route_ids: List[str] = FieldInfo(alias="routeIds")

name: Optional[str] = None
static_route_ids: List[str] = FieldInfo(alias="staticRouteIds")

parent: Optional[str] = None
code: Optional[str] = None

route_ids: Optional[List[str]] = FieldInfo(alias="routeIds", default=None)
direction: Optional[str] = None

static_route_ids: Optional[List[str]] = FieldInfo(alias="staticRouteIds", default=None)
location_type: Optional[int] = FieldInfo(alias="locationType", default=None)

wheelchair_boarding: Optional[str] = FieldInfo(alias="wheelchairBoarding", default=None)


class StopsForLocationRetrieveResponseData(BaseModel):
limit_exceeded: bool = FieldInfo(alias="limitExceeded")

list: List[StopsForLocationRetrieveResponseDataList]

references: References

limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)


class StopsForLocationRetrieveResponse(ResponseWrapper):
data: StopsForLocationRetrieveResponseData