allowing default content type for POST/DELETEs

fixes https://github.com/openstf/stf/issues/594
This commit is contained in:
kris
2017-05-31 09:08:09 -05:00
committed by GitHub
parent 0b071a1f5c
commit 378edc7d92

View File

@@ -1,6 +1,6 @@
swagger: "2.0"
info:
version: "2.0.0"
version: "2.0.1"
title: Smartphone Test Farm
description: Control and manages real Smartphone devices from browser and restful apis
license:
@@ -124,6 +124,8 @@ paths:
summary: Delete User Device
description: The User Devices endpoint will request for device release from stf server. It will return request accepted if device is being used by current user
operationId: deleteUserDeviceBySerial
consumes:
- application/octet-stream
tags:
- user
parameters:
@@ -149,6 +151,8 @@ paths:
summary: Remote Connect
description: The device connect endpoint will request stf server to connect remotely
operationId: remoteConnectUserDeviceBySerial
consumes:
- application/octet-stream
tags:
- user
parameters:
@@ -172,6 +176,8 @@ paths:
summary: Remote Disconnect
description: The device connect endpoint will request stf server to disconnect remotely
operationId: remoteDisconnectUserDeviceBySerial
consumes:
- application/octet-stream
tags:
- user
parameters: