File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 "info" : {
55 "title" : " Temperature Profile" ,
66 "version" : " 2.0.0" ,
7- "description" : " スマートデバイスの計測または管理している温度を提供するプロファイル 。"
7+ "description" : " スマートデバイスの計測している温度を提供するプロファイル 。"
88 },
99 "consumes" : [
1010 " application/x-www-form-urlencoded" ,
1414 "/" : {
1515 "get" : {
1616 "x-type" : " one-shot" ,
17- "summary" : " スマートデバイスの温度設定値を取得する 。" ,
17+ "summary" : " スマートデバイスの温度実測値を取得する 。" ,
1818 "description" : " typeはそれぞれ、1:摂氏、2:華氏を表している。" ,
1919 "parameters" : [
2020 {
3535 ],
3636 "responses" : {
3737 "200" : {
38- "description" : " " ,
38+ "description" : " スマートデバイスが計測した温度を返す。 " ,
3939 "schema" : {
4040 "$ref" : " #/definitions/GetTemperatureResponse"
4141 },
5050 }
5151 }
5252 }
53- },
54- "put" : {
55- "x-type" : " one-shot" ,
56- "summary" : " スマートデバイスの温度設定値を設定する。" ,
57- "description" : " typeはそれぞれ、1:摂氏、2:華氏を表している。<br>temperatureに設定できる値は、摂氏の場合は0以上50以下, 華氏の場合は32以上122以下。" ,
58- "parameters" : [
59- {
60- "name" : " serviceId" ,
61- "description" : " サービスID。" ,
62- "in" : " formData" ,
63- "required" : true ,
64- "type" : " string"
65- },
66- {
67- "name" : " temperature" ,
68- "description" : " 温度の値。" ,
69- "in" : " formData" ,
70- "required" : true ,
71- "type" : " integer"
72- },
73- {
74- "name" : " type" ,
75- "description" : " 1:摂氏、2:華氏" ,
76- "in" : " formData" ,
77- "required" : false ,
78- "type" : " integer" ,
79- "enum" : [1 , 2 ]
80- }
81- ],
82- "responses" : {
83- "200" : {
84- "description" : " " ,
85- "schema" : {
86- "$ref" : " #/definitions/PutTemperatureResponse"
87- },
88- "examples" : {
89- "application/json" : {
90- "product" : " Example System" ,
91- "version" : " 1.0" ,
92- "result" : 0
93- }
94- }
95- }
96- }
9753 }
9854 }
9955 },
11874 }
11975 }]
12076 },
121- "PutTemperatureResponse" : {
122- "type" : " object" ,
123- "allOf" : [{
124- "$ref" : " #/definitions/CommonResponse"
125- }]
126- },
12777 "CommonResponse" : {
12878 "type" : " object" ,
12979 "required" : [
You can’t perform that action at this time.
0 commit comments