Skip to content

Commit 34a1148

Browse files
committed
updates OAS
1 parent a3ff733 commit 34a1148

File tree

1 file changed

+60
-58
lines changed
  • services/web/server/src/simcore_service_webserver/api/v0

1 file changed

+60
-58
lines changed

services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml

Lines changed: 60 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,7 @@ paths:
15601560
content:
15611561
application/json:
15621562
schema:
1563-
$ref: '#/components/schemas/PreRegisteredUserGet'
1563+
$ref: '#/components/schemas/UserAccountRestPreRegister'
15641564
required: true
15651565
responses:
15661566
'200':
@@ -13113,7 +13113,7 @@ components:
1311313113
properties:
1311413114
phone:
1311513115
type: string
13116-
minLength: 1
13116+
format: phone
1311713117
title: Phone
1311813118
description: Phone number to register
1311913119
type: object
@@ -14653,62 +14653,6 @@ components:
1465314653
- x
1465414654
- y
1465514655
title: Position
14656-
PreRegisteredUserGet:
14657-
properties:
14658-
firstName:
14659-
type: string
14660-
title: Firstname
14661-
lastName:
14662-
type: string
14663-
title: Lastname
14664-
email:
14665-
type: string
14666-
format: email
14667-
title: Email
14668-
institution:
14669-
anyOf:
14670-
- type: string
14671-
- type: 'null'
14672-
title: Institution
14673-
description: company, university, ...
14674-
phone:
14675-
anyOf:
14676-
- type: string
14677-
- type: 'null'
14678-
title: Phone
14679-
address:
14680-
type: string
14681-
title: Address
14682-
city:
14683-
type: string
14684-
title: City
14685-
state:
14686-
anyOf:
14687-
- type: string
14688-
- type: 'null'
14689-
title: State
14690-
postalCode:
14691-
type: string
14692-
title: Postalcode
14693-
country:
14694-
type: string
14695-
title: Country
14696-
extras:
14697-
additionalProperties: true
14698-
type: object
14699-
title: Extras
14700-
description: Keeps extra information provided in the request form.
14701-
type: object
14702-
required:
14703-
- firstName
14704-
- lastName
14705-
- email
14706-
- phone
14707-
- address
14708-
- city
14709-
- postalCode
14710-
- country
14711-
title: PreRegisteredUserGet
1471214656
Preference:
1471314657
properties:
1471414658
defaultValue:
@@ -15935,6 +15879,7 @@ components:
1593515879
title: Email
1593615880
phone:
1593715881
type: string
15882+
format: phone
1593815883
title: Phone
1593915884
description: Phone number E.164, needed on the deployments with 2FA
1594015885
additionalProperties: false
@@ -17728,6 +17673,63 @@ components:
1772817673
required:
1772917674
- email
1773017675
title: UserAccountReject
17676+
UserAccountRestPreRegister:
17677+
properties:
17678+
firstName:
17679+
type: string
17680+
title: Firstname
17681+
lastName:
17682+
type: string
17683+
title: Lastname
17684+
email:
17685+
type: string
17686+
format: email
17687+
title: Email
17688+
institution:
17689+
anyOf:
17690+
- type: string
17691+
- type: 'null'
17692+
title: Institution
17693+
description: company, university, ...
17694+
phone:
17695+
anyOf:
17696+
- type: string
17697+
format: phone
17698+
- type: 'null'
17699+
title: Phone
17700+
address:
17701+
type: string
17702+
title: Address
17703+
city:
17704+
type: string
17705+
title: City
17706+
state:
17707+
anyOf:
17708+
- type: string
17709+
- type: 'null'
17710+
title: State
17711+
postalCode:
17712+
type: string
17713+
title: Postalcode
17714+
country:
17715+
type: string
17716+
title: Country
17717+
extras:
17718+
additionalProperties: true
17719+
type: object
17720+
title: Extras
17721+
description: Keeps extra information provided in the request form.
17722+
type: object
17723+
required:
17724+
- firstName
17725+
- lastName
17726+
- email
17727+
- phone
17728+
- address
17729+
- city
17730+
- postalCode
17731+
- country
17732+
title: UserAccountRestPreRegister
1773117733
UserGet:
1773217734
properties:
1773317735
userId:

0 commit comments

Comments
 (0)