Skip to content

Commit

Permalink
fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Sep 20, 2022
1 parent 7050daa commit ec6d3a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 20 deletions.
12 changes: 2 additions & 10 deletions api/specs/webserver/components/schemas/me.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: [email protected]
role: Admin
gravatar_id: 205e460b479e2e5b48aec07710c08d50

ProfileEnveloped:
type: object
Expand Down Expand Up @@ -67,9 +62,6 @@ Token:
required:
- service
- token_key
example:
service: "github-api-v1"
token_key: N1BP5ZSpB

TokenId:
description: toke identifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: [email protected]
role: Admin
gravatar_id: 205e460b479e2e5b48aec07710c08d50
error:
nullable: true
default: null
Expand All @@ -704,9 +702,6 @@ paths:
example:
first_name: Pedro
last_name: Crespo
example:
first_name: Pedro
last_name: Crespo
responses:
'204':
description: updated profile
Expand Down Expand Up @@ -767,9 +762,6 @@ paths:
required:
- service
- token_key
example:
service: github-api-v1
token_key: N1BP5ZSpB
error:
nullable: true
default: null
Expand Down

0 comments on commit ec6d3a4

Please sign in to comment.