Skip to content

Commit

Permalink
Changes proposed by Ingo
Browse files Browse the repository at this point in the history
Signed-off-by: Henry Brink <[email protected]>
  • Loading branch information
henrybrink committed May 9, 2024
1 parent ea82257 commit eb0c356
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docs/public/api/schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ externalDocs:
url: https://github.com/SE-TINF22B2/G5-DuoGradus
tags:
- name: User
description: Endpoints related to the user, his account and other personal configurations
description: Endpoints relatexd to the user, his account and other personal configurations
- name: Datasource
description: Thirdparty data sources, like FitBit
- name: Leaderboard
Expand Down Expand Up @@ -239,7 +239,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Goal'
type: array
items:
$ref: '#/components/schemas/Goal'
'/task':
get:
summary: A list of available tasks
Expand All @@ -252,10 +254,12 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/Task'
type: array
items:
$ref: '#/components/schemas/Task'
'/task/{id}':
get:
summary: A list of available tasks
summary: Retrieve information about a single task
operationId: getTask
tags:
- Task
Expand All @@ -267,7 +271,7 @@ paths:
required: true
responses:
'200':
description: A list of available tasks
description: A single task
content:
application/json:
schema:
Expand Down

0 comments on commit eb0c356

Please sign in to comment.