Skip to content

Commit e209b47

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#18)
1 parent 8d56083 commit e209b47

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 15
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-735f145c4ce18bd5a2c869289186f175513bfa496507de7ff0734f9242adf427.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-ac10a054ead5e711bd033b417891c1769d631135029ca5bd91e6584420403ee2.yml

src/onebusaway/types/stop_ids_for_agency_list_response.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313

1414
class StopIDsForAgencyListResponseData(BaseModel):
15-
list: List[str]
15+
limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)
1616

17-
references: References
17+
list: Optional[List[str]] = None
1818

19-
limit_exceeded: Optional[bool] = FieldInfo(alias="limitExceeded", default=None)
19+
references: Optional[References] = None
2020

2121

2222
class StopIDsForAgencyListResponse(ResponseWrapper):

src/onebusaway/types/stop_retrieve_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ class StopRetrieveResponseDataEntry(BaseModel):
3636

3737

3838
class StopRetrieveResponseData(BaseModel):
39-
entry: StopRetrieveResponseDataEntry
39+
entry: Optional[StopRetrieveResponseDataEntry] = None
4040

41-
references: References
41+
references: Optional[References] = None
4242

4343

4444
class StopRetrieveResponse(ResponseWrapper):

0 commit comments

Comments
 (0)