Skip to content

Commit

Permalink
models
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarloromeo committed Dec 6, 2024
1 parent 1271776 commit c39f166
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,13 @@ class ApiKeyCreateRequest(InputSchema):
)


class ApiKeyCreateResponse(ApiKeyCreateRequest):
class ApiKeyCreateResponse(OutputSchema):
id: IDStr
display_name: Annotated[str, Field(..., min_length=3)]
expiration: timedelta | None = Field(
None,
description="Time delta from creation time to expiration. If None, then it does not expire.",
)
api_base_url: HttpUrl
api_key: str
api_secret: str
Expand Down

0 comments on commit c39f166

Please sign in to comment.