Skip to content

Commit 003cd7d

Browse files
feat(api): remove deprecated access_token from runner responses
1 parent 00538d2 commit 003cd7d

3 files changed

Lines changed: 2 additions & 8 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 193
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod/gitpod-cb731bb078ce83c206e64e6d32f5d9364dad6384161c3a229e20e02a24c6df61.yml
3-
openapi_spec_hash: 2bd8bc5a1af393eb35d85c51ebe5089e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod/gitpod-d8d06d7ffc04df2d9941889b28db92f1a9c6554214411ed68a939d94e149507a.yml
3+
openapi_spec_hash: 82c005c96e438a429717d51f24596467
44
config_hash: 80140724b84647203353ddc02da48816

src/gitpod/types/runner_create_response.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@
1313
class RunnerCreateResponse(BaseModel):
1414
runner: Runner
1515

16-
access_token: Optional[str] = FieldInfo(alias="accessToken", default=None)
17-
"""deprecated, will be removed. Use exchange_token instead."""
18-
1916
exchange_token: Optional[str] = FieldInfo(alias="exchangeToken", default=None)
2017
"""
2118
exchange_token is a one-time use token that should be exchanged by the runner

src/gitpod/types/runner_create_runner_token_response.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010

1111

1212
class RunnerCreateRunnerTokenResponse(BaseModel):
13-
access_token: Optional[str] = FieldInfo(alias="accessToken", default=None)
14-
"""deprecated, will be removed. Use exchange_token instead."""
15-
1613
exchange_token: Optional[str] = FieldInfo(alias="exchangeToken", default=None)
1714
"""
1815
exchange_token is a one-time use token that should be exchanged by the runner

0 commit comments

Comments
 (0)