Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Aug 16, 2024
1 parent d63524a commit d4f2ca0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions src/onebusaway/types/route_ids_for_agency_list_response.py
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
6 changes: 3 additions & 3 deletions src/onebusaway/types/stop_ids_for_agency_list_response.py
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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
6 changes: 3 additions & 3 deletions src/onebusaway/types/trips_for_location_list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""

Expand Down

0 comments on commit d4f2ca0

Please sign in to comment.