From ec6d3a4a9318947a1ede4883c76de71c7a9ebebc Mon Sep 17 00:00:00 2001 From: Pedro Crespo <32402063+pcrespov@users.noreply.github.com> Date: Tue, 20 Sep 2022 17:11:36 +0200 Subject: [PATCH] fixes typo --- api/specs/webserver/components/schemas/me.yaml | 12 ++---------- .../simcore_service_webserver/api/v0/openapi.yaml | 12 ++---------- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/api/specs/webserver/components/schemas/me.yaml b/api/specs/webserver/components/schemas/me.yaml index 9b9d9b9da83f..58be4b85d877 100644 --- a/api/specs/webserver/components/schemas/me.yaml +++ b/api/specs/webserver/components/schemas/me.yaml @@ -12,15 +12,14 @@ ProfileCommon: ProfileUpdate: allOf: - $ref: "#/ProfileCommon" - example: - first_name: Pedro - last_name: Crespo ProfileGet: allOf: - $ref: "#/ProfileCommon" - type: object properties: + id: + type: integer login: type: string format: email @@ -34,10 +33,6 @@ ProfileGet: type: string format: date description: "If user has a trial account, it sets the expiration date, otherwise None" - example: - login: pcrespov@foo.com - role: Admin - gravatar_id: 205e460b479e2e5b48aec07710c08d50 ProfileEnveloped: type: object @@ -67,9 +62,6 @@ Token: required: - service - token_key - example: - service: "github-api-v1" - token_key: N1BP5ZSpB TokenId: description: toke identifier diff --git a/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml b/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml index 81b5340fe881..2e222af219c5 100644 --- a/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml +++ b/services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml @@ -664,6 +664,8 @@ paths: - $ref: '#/paths/~1me/put/requestBody/content/application~1json/schema/allOf/0' - type: object properties: + id: + type: integer login: type: string format: email @@ -677,10 +679,6 @@ paths: type: string format: date description: 'If user has a trial account, it sets the expiration date, otherwise None' - example: - login: pcrespov@foo.com - role: Admin - gravatar_id: 205e460b479e2e5b48aec07710c08d50 error: nullable: true default: null @@ -704,9 +702,6 @@ paths: example: first_name: Pedro last_name: Crespo - example: - first_name: Pedro - last_name: Crespo responses: '204': description: updated profile @@ -767,9 +762,6 @@ paths: required: - service - token_key - example: - service: github-api-v1 - token_key: N1BP5ZSpB error: nullable: true default: null