@@ -68,14 +68,14 @@ class ApiKeyCreateRequest(BaseModel):
6868 json_schema_extra = {
6969 "examples" : [
7070 {
71- "display_name " : "test-api-forever" ,
71+ "displayName " : "test-api-forever" ,
7272 },
7373 {
74- "display_name " : "test-api-for-one-day" ,
74+ "displayName " : "test-api-for-one-day" ,
7575 "expiration" : 60 * 60 * 24 ,
7676 },
7777 {
78- "display_name " : "test-api-for-another-day" ,
78+ "displayName " : "test-api-for-another-day" ,
7979 "expiration" : "24:00:00" ,
8080 },
8181 ]
@@ -98,26 +98,26 @@ class ApiKeyCreateResponse(ApiKeyCreateRequest):
9898 "examples" : [
9999 {
100100 "id" : "42" ,
101- "display_name " : "test-api-forever" ,
102- "api_base_url " : "http://api.osparc.io/v0" ,
103- "api_key " : "key" ,
104- "api_secret " : "secret" ,
101+ "displayName " : "test-api-forever" ,
102+ "apiBaseUrl " : "http://api.osparc.io/v0" ,
103+ "apiKey " : "key" ,
104+ "apiSecret " : "secret" ,
105105 },
106106 {
107107 "id" : "48" ,
108- "display_name " : "test-api-for-one-day" ,
108+ "displayName " : "test-api-for-one-day" ,
109109 "expiration" : 60 * 60 * 24 ,
110- "api_base_url " : "http://api.sim4life.io/v0" ,
111- "api_key " : "key" ,
112- "api_secret " : "secret" ,
110+ "apiBaseUrl " : "http://api.sim4life.io/v0" ,
111+ "apiKey " : "key" ,
112+ "apiSecret " : "secret" ,
113113 },
114114 {
115115 "id" : "54" ,
116116 "display_name" : "test-api-for-another-day" ,
117117 "expiration" : "24:00:00" ,
118- "api_base_url " : "http://api.osparc-master.io/v0" ,
119- "api_key " : "key" ,
120- "api_secret " : "secret" ,
118+ "apiBaseUrl " : "http://api.osparc-master.io/v0" ,
119+ "apiKey " : "key" ,
120+ "apiSecret " : "secret" ,
121121 },
122122 ]
123123 },
0 commit comments