1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00

updating generated JSON

This commit is contained in:
kris 2017-05-31 09:11:35 -05:00 committed by GitHub
parent 378edc7d92
commit eb069bbdf3

View file

@ -1,7 +1,7 @@
{ {
"swagger": "2.0", "swagger": "2.0",
"info": { "info": {
"version": "2.0.0", "version": "2.0.1",
"title": "Smartphone Test Farm", "title": "Smartphone Test Farm",
"description": "Control and manages real Smartphone devices from browser and restful apis", "description": "Control and manages real Smartphone devices from browser and restful apis",
"license": { "license": {
@ -37,6 +37,7 @@
], ],
"paths": { "paths": {
"/user": { "/user": {
"x-swagger-router-controller": "user",
"get": { "get": {
"summary": "User Profile", "summary": "User Profile",
"description": "The User Profile endpoint returns information about current authorized user", "description": "The User Profile endpoint returns information about current authorized user",
@ -66,6 +67,7 @@
} }
}, },
"/user/devices": { "/user/devices": {
"x-swagger-router-controller": "user",
"get": { "get": {
"summary": "User Devices", "summary": "User Devices",
"description": "The User Devices endpoint returns device list owner by current authorized user", "description": "The User Devices endpoint returns device list owner by current authorized user",
@ -139,6 +141,7 @@
} }
}, },
"/user/devices/{serial}": { "/user/devices/{serial}": {
"x-swagger-router-controller": "user",
"get": { "get": {
"summary": "User Device", "summary": "User Device",
"description": "The devices enpoint return information about device owned by user", "description": "The devices enpoint return information about device owned by user",
@ -186,6 +189,9 @@
"summary": "Delete User Device", "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", "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", "operationId": "deleteUserDeviceBySerial",
"consumes": [
"application/octet-stream"
],
"tags": [ "tags": [
"user" "user"
], ],
@ -217,10 +223,14 @@
} }
}, },
"/user/devices/{serial}/remoteConnect": { "/user/devices/{serial}/remoteConnect": {
"x-swagger-router-controller": "user",
"post": { "post": {
"summary": "Remote Connect", "summary": "Remote Connect",
"description": "The device connect endpoint will request stf server to connect remotely", "description": "The device connect endpoint will request stf server to connect remotely",
"operationId": "remoteConnectUserDeviceBySerial", "operationId": "remoteConnectUserDeviceBySerial",
"consumes": [
"application/octet-stream"
],
"tags": [ "tags": [
"user" "user"
], ],
@ -257,6 +267,9 @@
"summary": "Remote Disconnect", "summary": "Remote Disconnect",
"description": "The device connect endpoint will request stf server to disconnect remotely", "description": "The device connect endpoint will request stf server to disconnect remotely",
"operationId": "remoteDisconnectUserDeviceBySerial", "operationId": "remoteDisconnectUserDeviceBySerial",
"consumes": [
"application/octet-stream"
],
"tags": [ "tags": [
"user" "user"
], ],
@ -288,6 +301,7 @@
} }
}, },
"/user/accessTokens": { "/user/accessTokens": {
"x-swagger-router-controller": "user",
"get": { "get": {
"summary": "Access Tokens", "summary": "Access Tokens",
"description": "The Access Tokens endpoints returns titles of all the valid access tokens", "description": "The Access Tokens endpoints returns titles of all the valid access tokens",
@ -317,6 +331,7 @@
} }
}, },
"/devices": { "/devices": {
"x-swagger-router-controller": "devices",
"get": { "get": {
"summary": "Device List", "summary": "Device List",
"description": "The devices endpoint return list of all the STF devices including Disconnected and Offline", "description": "The devices endpoint return list of all the STF devices including Disconnected and Offline",
@ -355,6 +370,7 @@
} }
}, },
"/devices/{serial}": { "/devices/{serial}": {
"x-swagger-router-controller": "devices",
"get": { "get": {
"summary": "Device Information", "summary": "Device Information",
"description": "The device enpoint return information about a single device", "description": "The device enpoint return information about a single device",
@ -399,7 +415,9 @@
] ]
} }
}, },
"/swagger.json": {} "/swagger.json": {
"x-swagger-pipe": "swagger_raw"
}
}, },
"definitions": { "definitions": {
"UserResponse": { "UserResponse": {