From d4f2ca03ce7778c127e70a6f7db86e0fb667e157 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 16 Aug 2024 15:23:07 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#87) --- .stats.yml | 2 +- src/onebusaway/types/route_ids_for_agency_list_response.py | 6 +++--- src/onebusaway/types/stop_ids_for_agency_list_response.py | 6 +++--- src/onebusaway/types/trips_for_location_list_response.py | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.stats.yml b/.stats.yml index 5cb9754..40f1ffc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 28 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-5ea57ef7593fcb03a66448381178efc842002e4ba63aa97f238e8584c8b4a6ee.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-f162ca6ca596aea614dc8d4451e8fb35d4a6850870f5dcf087e83f61c2284276.yml diff --git a/src/onebusaway/types/route_ids_for_agency_list_response.py b/src/onebusaway/types/route_ids_for_agency_list_response.py index ffe9c32..193704e 100644 --- a/src/onebusaway/types/route_ids_for_agency_list_response.py +++ b/src/onebusaway/types/route_ids_for_agency_list_response.py @@ -1,6 +1,6 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import List, Optional +from typing import List from pydantic import Field as FieldInfo @@ -12,12 +12,12 @@ class RouteIDsForAgencyListResponseData(BaseModel): + limit_exceeded: bool = FieldInfo(alias="limitExceeded") + list: List[str] references: References - limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None) - class RouteIDsForAgencyListResponse(ResponseWrapper): data: RouteIDsForAgencyListResponseData diff --git a/src/onebusaway/types/stop_ids_for_agency_list_response.py b/src/onebusaway/types/stop_ids_for_agency_list_response.py index f36b63f..3ae9947 100644 --- a/src/onebusaway/types/stop_ids_for_agency_list_response.py +++ b/src/onebusaway/types/stop_ids_for_agency_list_response.py @@ -1,6 +1,6 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import List, Optional +from typing import List from pydantic import Field as FieldInfo @@ -12,12 +12,12 @@ class StopIDsForAgencyListResponseData(BaseModel): + limit_exceeded: bool = FieldInfo(alias="limitExceeded") + list: List[str] references: References - limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None) - class StopIDsForAgencyListResponse(ResponseWrapper): data: StopIDsForAgencyListResponseData diff --git a/src/onebusaway/types/trips_for_location_list_response.py b/src/onebusaway/types/trips_for_location_list_response.py index cbeafa0..68ae881 100644 --- a/src/onebusaway/types/trips_for_location_list_response.py +++ b/src/onebusaway/types/trips_for_location_list_response.py @@ -177,13 +177,13 @@ class TripsForLocationListResponseDataList(BaseModel): class TripsForLocationListResponseData(BaseModel): + limit_exceeded: bool = FieldInfo(alias="limitExceeded") + """Indicates if the limit of trips has been exceeded""" + list: List[TripsForLocationListResponseDataList] references: References - limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None) - """Indicates if the limit of trips has been exceeded""" - out_of_range: Optional[bool] = FieldInfo(alias="outOfRange", default=None) """Indicates if the search location is out of range"""