Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion services/serviceaccount/oas_commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f15f0e449d347f36dde5feac11c328b72d7f10dc
9356c10747db357b4ec533ec97231f1af5530ca0
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,12 @@ class CreateServiceAccountKeyResponseCredentials(BaseModel):
alias="privateKey",
)
sub: UUID = Field(description="Service account id")
__properties: ClassVar[List[str]] = ["aud", "iss", "kid", "privateKey", "sub"]
token_endpoint: Optional[StrictStr] = Field(
default=None,
description="Endpoint used to obtain access tokens for the service account.",
alias="tokenEndpoint",
)
__properties: ClassVar[List[str]] = ["aud", "iss", "kid", "privateKey", "sub", "tokenEndpoint"]

model_config = ConfigDict(
populate_by_name=True,
Expand Down Expand Up @@ -93,6 +98,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
"kid": obj.get("kid"),
"privateKey": obj.get("privateKey"),
"sub": obj.get("sub"),
"tokenEndpoint": obj.get("tokenEndpoint"),
}
)
return _obj
Loading