Skip to content

Commit f3fa2c4

Browse files
Generate serviceaccount
1 parent b6e9f61 commit f3fa2c4

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

services/serviceaccount/src/stackit/serviceaccount/api/default_api.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,8 @@ def create_short_lived_access_token(
986986

987987
_response_types_map: Dict[str, Optional[str]] = {
988988
"200": "CreateShortLivedAccessTokenResponse",
989+
"400": "Error",
990+
"403": "AuthError",
989991
}
990992
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
991993
response_data.read()
@@ -1069,6 +1071,8 @@ def create_short_lived_access_token_with_http_info(
10691071

10701072
_response_types_map: Dict[str, Optional[str]] = {
10711073
"200": "CreateShortLivedAccessTokenResponse",
1074+
"400": "Error",
1075+
"403": "AuthError",
10721076
}
10731077
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
10741078
response_data.read()
@@ -1152,6 +1156,8 @@ def create_short_lived_access_token_without_preload_content(
11521156

11531157
_response_types_map: Dict[str, Optional[str]] = {
11541158
"200": "CreateShortLivedAccessTokenResponse",
1159+
"400": "Error",
1160+
"403": "AuthError",
11551161
}
11561162
response_data = self.api_client.call_api(*_param, _request_timeout=_request_timeout)
11571163
return response_data.response

0 commit comments

Comments
 (0)