From 15ffd042812cbac0f9606b86226079863830dc2a Mon Sep 17 00:00:00 2001 From: esensar Date: Fri, 21 Sep 2018 00:20:31 +0200 Subject: [PATCH] Fix swagger request info for create recording --- .../resources/swagger/create_device_recording_spec.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/api/resources/swagger/create_device_recording_spec.yaml b/app/api/resources/swagger/create_device_recording_spec.yaml index 77746cf..b51ce5b 100644 --- a/app/api/resources/swagger/create_device_recording_spec.yaml +++ b/app/api/resources/swagger/create_device_recording_spec.yaml @@ -13,12 +13,7 @@ parameters: name: body required: true schema: - type: object - required: - - recording - properties: - recording: - $ref: '#/definitions/Recording' + $ref: '#/definitions/Recording' responses: 201: description: Successful creation