Update OpenAPI schema

This commit is contained in:
Christopher C. Wells 2022-01-12 15:54:47 -08:00 committed by Christopher Charbonneau Wells
parent 5e1248e798
commit 4ce498a14f
1 changed files with 62 additions and 1 deletions

View File

@ -3844,6 +3844,68 @@ paths:
description: ''
tags:
- api
/api/timers/{id}/restart/:
patch:
operationId: restartTimer
description: ''
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Timer.
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Timer'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Timer'
multipart/form-data:
schema:
$ref: '#/components/schemas/Timer'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Timer'
description: ''
tags:
- api
/api/timers/{id}/stop/:
patch:
operationId: stopTimer
description: ''
parameters:
- name: id
in: path
required: true
description: A unique integer value identifying this Timer.
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/Timer'
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Timer'
multipart/form-data:
schema:
$ref: '#/components/schemas/Timer'
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/Timer'
description: ''
tags:
- api
components:
schemas:
Child:
@ -3871,7 +3933,6 @@ components:
nullable: true
required:
- first_name
- last_name
- birth_date
DiaperChange:
type: object