We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8b30ca commit e7bba25Copy full SHA for e7bba25
packages/models-library/src/models_library/api_schemas_webserver/auth.py
@@ -64,6 +64,7 @@ class ApiKeyCreateRequest(OutputSchema):
64
alias_generator=AliasGenerator(
65
validation_alias=to_camel,
66
),
67
+ from_attributes=True,
68
json_schema_extra={
69
"examples": [
70
{
@@ -92,6 +93,7 @@ class ApiKeyCreateResponse(ApiKeyCreateRequest):
92
93
94
serialization_alias=to_camel,
95
96
97
98
99
@@ -130,6 +132,7 @@ class ApiKeyGet(OutputSchema):
130
132
131
133
134
135
136
137
138
0 commit comments