Skip to content

Commit 5b22949

Browse files
update example
1 parent cbb0278 commit 5b22949

File tree

1 file changed

+12
-12
lines changed
  • packages/models-library/src/models_library/api_schemas_webserver

1 file changed

+12
-12
lines changed

packages/models-library/src/models_library/api_schemas_webserver/auth.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -98,26 +98,26 @@ class ApiKeyCreateResponse(ApiKeyCreateRequest):
9898
"examples": [
9999
{
100100
"id": "42",
101-
"displayName": "test-api-forever",
102-
"apiBaseUrl": "http://api.osparc.io/v0",
103-
"apiKey": "key",
104-
"apiSecret": "secret",
101+
"display_name": "test-api-forever",
102+
"api_base_url": "http://api.osparc.io/v0",
103+
"api_key": "key",
104+
"api_secret": "secret",
105105
},
106106
{
107107
"id": "48",
108-
"displayName": "test-api-for-one-day",
108+
"display_name": "test-api-for-one-day",
109109
"expiration": 60 * 60 * 24,
110-
"apiBaseUrl": "http://api.sim4life.io/v0",
111-
"apiKey": "key",
112-
"apiSecret": "secret",
110+
"api_base_url": "http://api.sim4life.io/v0",
111+
"api_key": "key",
112+
"api_secret": "secret",
113113
},
114114
{
115115
"id": "54",
116-
"displayName": "test-api-for-another-day",
116+
"display_name": "test-api-for-another-day",
117117
"expiration": "24:00:00",
118-
"apiBaseUrl": "http://api.osparc-master.io/v0",
119-
"apiKey": "key",
120-
"apiSecret": "secret",
118+
"api_base_url": "http://api.osparc-master.io/v0",
119+
"api_key": "key",
120+
"api_secret": "secret",
121121
},
122122
]
123123
},

0 commit comments

Comments
 (0)