Add missing response types
This commit is contained in:
parent
3854daca49
commit
ae4fd727ca
@ -102,6 +102,11 @@ paths:
|
|||||||
description:
|
description:
|
||||||
type: string
|
type: string
|
||||||
description: The description of the allowance or expense.
|
description: The description of the allowance or expense.
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: The allowance was updated successfully.
|
||||||
|
400:
|
||||||
|
description: The allowance could not be updated.
|
||||||
|
|
||||||
/user/{userId}/history:
|
/user/{userId}/history:
|
||||||
get:
|
get:
|
||||||
@ -175,6 +180,19 @@ paths:
|
|||||||
weight:
|
weight:
|
||||||
type: integer
|
type: integer
|
||||||
description: How much money goes to this goal, relative to all other goals.
|
description: How much money goes to this goal, relative to all other goals.
|
||||||
|
responses:
|
||||||
|
201:
|
||||||
|
description: The goal was created successfully.
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: integer
|
||||||
|
description: The goal ID
|
||||||
|
400:
|
||||||
|
description: The goal could not be created.
|
||||||
put:
|
put:
|
||||||
summary: Bulk updating of goals
|
summary: Bulk updating of goals
|
||||||
parameters:
|
parameters:
|
||||||
@ -199,6 +217,11 @@ paths:
|
|||||||
weight:
|
weight:
|
||||||
type: integer
|
type: integer
|
||||||
description: How much money goes to this goal, relative to all other goals.
|
description: How much money goes to this goal, relative to all other goals.
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: The goals were updated successfully.
|
||||||
|
404:
|
||||||
|
description: The goals could not be found.
|
||||||
|
|
||||||
/user/{userId}/goal/{goalId}:
|
/user/{userId}/goal/{goalId}:
|
||||||
get:
|
get:
|
||||||
@ -300,6 +323,11 @@ paths:
|
|||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
type: integer
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: The goal was completed successfully.
|
||||||
|
404:
|
||||||
|
description: The goal could not be found.
|
||||||
|
|
||||||
/tasks:
|
/tasks:
|
||||||
get:
|
get:
|
||||||
@ -331,6 +359,17 @@ paths:
|
|||||||
assigned:
|
assigned:
|
||||||
type: integer
|
type: integer
|
||||||
description: The user ID of the user assigned to the task
|
description: The user ID of the user assigned to the task
|
||||||
|
responses:
|
||||||
|
202:
|
||||||
|
description: The task was created successfully.
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
id:
|
||||||
|
type: integer
|
||||||
|
description: The task ID
|
||||||
|
|
||||||
/task/{id}:
|
/task/{id}:
|
||||||
get:
|
get:
|
||||||
@ -386,6 +425,11 @@ paths:
|
|||||||
assigned:
|
assigned:
|
||||||
type: integer
|
type: integer
|
||||||
description: The user ID of the user assigned to the task
|
description: The user ID of the user assigned to the task
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: The task was updated successfully.
|
||||||
|
404:
|
||||||
|
description: The task could not be found.
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user