Commit 0655fd0 1 parent 6ab767c commit 0655fd0 Copy full SHA for 0655fd0
File tree 2 files changed +0
-104
lines changed
2 files changed +0
-104
lines changed Original file line number Diff line number Diff line change 56
56
}
57
57
}
58
58
}
59
- },
60
- "put" : {
61
- "operationId" : " temperaturePut" ,
62
- "x-type" : " one-shot" ,
63
- "summary" : " スマートデバイスの温度設定値を設定する。" ,
64
- "description" : " typeはそれぞれ<br> 1:摂氏<br> 2:華氏<br> を表している。<br> temperatureに設定できる値は、摂氏の場合は0以上50以下, 華氏の場合は32以上122以下。" ,
65
- "parameters" : [
66
- {
67
- "name" : " serviceId" ,
68
- "description" : " サービスID。" ,
69
- "in" : " formData" ,
70
- "required" : true ,
71
- "type" : " string"
72
- },
73
- {
74
- "name" : " temperature" ,
75
- "description" : " 温度の値。" ,
76
- "in" : " formData" ,
77
- "required" : true ,
78
- "type" : " integer"
79
- },
80
- {
81
- "name" : " type" ,
82
- "description" : " 1:摂氏<br> 2:華氏" ,
83
- "in" : " formData" ,
84
- "required" : false ,
85
- "type" : " integer" ,
86
- "enum" : [
87
- 1 ,
88
- 2
89
- ]
90
- }
91
- ],
92
- "responses" : {
93
- "200" : {
94
- "description" : " 温度設定値の設定結果を返す。 設定に失敗した場合はエラーを返す。" ,
95
- "schema" : {
96
- "$ref" : " #/definitions/PutTemperatureResponse"
97
- },
98
- "examples" : {
99
- "application/json" : {
100
- "product" : " Example System" ,
101
- "version" : " 1.0" ,
102
- "result" : 0
103
- }
104
- }
105
- }
106
- }
107
59
}
108
60
}
109
61
},
151
103
}
152
104
]
153
105
},
154
- "PutTemperatureResponse" : {
155
- "type" : " object" ,
156
- "allOf" : [
157
- {
158
- "$ref" : " #/definitions/CommonResponse"
159
- }
160
- ]
161
- },
162
106
"CommonResponse" : {
163
107
"type" : " object" ,
164
108
"required" : [
Original file line number Diff line number Diff line change @@ -50,50 +50,6 @@ paths:
50
50
type : 1
51
51
timeStamp : 1431856940275
52
52
timeStampString : ' 2015-05-17T10:02:20+09:00'
53
- put :
54
- operationId : temperaturePut
55
- x-type : one-shot
56
- summary : スマートデバイスの温度設定値を設定する。
57
- description : >-
58
- typeはそれぞれ<br>
59
- 1:摂氏<br>
60
- 2:華氏<br>
61
- を表している。<br>
62
- temperatureに設定できる値は、摂氏の場合は0以上50以下,
63
- 華氏の場合は32以上122以下。
64
- parameters :
65
- - name : serviceId
66
- description : サービスID。
67
- in : formData
68
- required : true
69
- type : string
70
- - name : temperature
71
- description : 温度の値。
72
- in : formData
73
- required : true
74
- type : integer
75
- - name : type
76
- description : >-
77
- 1:摂氏<br>
78
- 2:華氏
79
- in : formData
80
- required : false
81
- type : integer
82
- enum :
83
- - 1
84
- - 2
85
- responses :
86
- ' 200 ' :
87
- description : >-
88
- 温度設定値の設定結果を返す。
89
- 設定に失敗した場合はエラーを返す。
90
- schema :
91
- $ref : ' #/definitions/PutTemperatureResponse'
92
- examples :
93
- application/json :
94
- product : Example System
95
- version : ' 1.0'
96
- result : 0
97
53
definitions :
98
54
GetTemperatureResponse :
99
55
type : object
@@ -129,10 +85,6 @@ definitions:
129
85
description : >-
130
86
タイムスタンプと同じタイムスタンプを
131
87
RFC3339「yyyy-MM-dd''T''HH:mm:ssZZZZZ」の形式で返す。
132
- PutTemperatureResponse :
133
- type : object
134
- allOf :
135
- - $ref : ' #/definitions/CommonResponse'
136
88
CommonResponse :
137
89
type : object
138
90
required :
You can’t perform that action at this time.
0 commit comments