Skip to content

Commit

Permalink
add example
Browse files Browse the repository at this point in the history
  • Loading branch information
giancarloromeo committed Dec 6, 2024
1 parent 54f08fb commit cbb0278
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/models-library/src/models_library/rpc_auth_api_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,14 @@ class ApiKeyGet(BaseModel):

model_config = ConfigDict(
from_attributes=True,
json_schema_extra={
"examples": [
{
"id": "42",
"display_name": "test-api-forever",
"api_key": "key",
"api_secret": "secret",
},
]
},
)

0 comments on commit cbb0278

Please sign in to comment.