From 4ce498a14f4967c6b991e549acaf442b8fc3e6dc Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Wed, 12 Jan 2022 15:54:47 -0800 Subject: [PATCH] Update OpenAPI schema --- openapi-schema.yml | 63 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) diff --git a/openapi-schema.yml b/openapi-schema.yml index af2aa054..f8591990 100644 --- a/openapi-schema.yml +++ b/openapi-schema.yml @@ -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