Skip to content

Commit 9d3b745

Browse files
Merge pull request #3 from TakayukiHoshi1984/buffix_semantics_error
API仕様定義ファイルのsemantics errorを修正
2 parents 991dde0 + 652ac53 commit 9d3b745

9 files changed

Lines changed: 18 additions & 16 deletions

File tree

api/battery.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"version": "2.0.0",
77
"description": "スマートデバイスのバッテリー情報を提供するAPI。"
88
},
9-
"consumes": [],
9+
"consumes": [
10+
"application/x-www-form-urlencoded",
11+
"multipart/form-data"
12+
],
1013
"paths": {
1114
"/": {
1215
"get": {

api/files.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"swagger": "2.0",
3-
"basePath": "/files",
3+
"basePath": "/gotapi/files",
44
"info": {
55
"title": "Files Profile",
66
"version": "2.0.0",

api/mediaplayer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"version": "2.0.0",
77
"description": "スマートデバイス上のメディアの再生状態の変更要求を通知するAPI。"
88
},
9-
"consumes": [],
9+
"consumes": [
10+
"application/x-www-form-urlencoded",
11+
"multipart/form-data"
12+
],
1013
"paths": {
1114
"/media": {
1215
"get": {

api/messageHook.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
"version": "2.0.0",
77
"description": "メッセージ送受信の機能を提供するAPI。"
88
},
9-
"consumes": [],
9+
"consumes": [
10+
"application/x-www-form-urlencoded",
11+
"multipart/form-data"
12+
],
1013
"paths": {
1114
"/channel": {
1215
"get": {

api/power.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"200": {
3030
"description": "",
3131
"schema": {
32-
"$ref": "#/definitions/PowerStatusResponse"
32+
"$ref": "#/definitions/PowerStatusGetResponse"
3333
},
3434
"examples": {
3535
"application/json": {

api/proximity.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"version": "2.0.0",
77
"description": "スマートデバイスの近接センサーの物/人の検知を通知するAPI。"
88
},
9-
"basePath": "/gotapi/proximity",
109
"consumes": [
1110
"application/x-www-form-urlencoded",
1211
"multipart/form-data"

api/sphero.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,6 @@
426426
"collision": {
427427
"type": "object",
428428
"description": "衝突イベントオブジェクト。",
429-
"required": [],
430429
"properties": {
431430
"impactAcceleration": {
432431
"type": "object",

api/system.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
"version": "2.0.0",
66
"description": ""
77
},
8-
"consumes": [],
8+
"consumes": [
9+
"application/x-www-form-urlencoded",
10+
"multipart/form-data"
11+
],
912
"paths": {
1013
"/": {
1114
"get": {

api/tv.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -439,14 +439,6 @@
439439
}
440440
]
441441
},
442-
"SetVolumeResponse": {
443-
"type": "object",
444-
"allOf": [
445-
{
446-
"$ref": "#/definitions/CommonResponse"
447-
}
448-
]
449-
},
450442
"SetBroadcastResponse": {
451443
"type": "object",
452444
"allOf": [

0 commit comments

Comments
 (0)