Skip to content

Commit 4874e22

Browse files
committed
Fix indents
1 parent ed7ce1a commit 4874e22

File tree

2 files changed

+291
-291
lines changed

2 files changed

+291
-291
lines changed
Lines changed: 169 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -1,133 +1,133 @@
11
{
2-
"swagger": "2.0",
3-
"info": {
4-
"title": "AllJoynObject",
5-
"version": "2019-03-19",
6-
"license": {
7-
"name": "OCF Data Model License",
8-
"url": "https://github.com/openconnectivityfoundation/core/blob/e28a9e0a92e17042ba3e83661e4c0fbce8bdc4ba/LICENSE.md",
9-
"x-copyright": "Copyright 2016-2019 Open Connectivity Foundation, Inc. All rights reserved."
10-
},
11-
"termsOfService": "https://openconnectivityfoundation.github.io/core/DISCLAIMER.md"
12-
},
13-
"schemes": ["http"],
14-
"consumes": ["application/json"],
15-
"produces": ["application/json"],
16-
"paths": {
17-
"/example/AllJoynObject?if=oic.if.ll": {
18-
"get": {
19-
"description": "This Resource is a Collection of Resources that were all derived from the same AllJoyn object.\n",
20-
"parameters": [
21-
{"$ref": "#/parameters/interface-all"}
22-
],
23-
"responses": {
24-
"200": {
25-
"description": "",
26-
"x-example": [
27-
{
28-
"href": "/myRes1URI",
29-
"rt": ["x.example.widget.false"],
30-
"if": ["oic.if.r", "oic.if.rw", "oic.if.baseline"],
31-
"eps": [
32-
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
33-
]
34-
},
35-
{
36-
"href": "/myRes2URI",
37-
"rt": ["x.example.widget.true"],
38-
"if": ["oic.if.r", "oic.if.rw", "oic.if.baseline"],
39-
"eps": [
40-
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
41-
]
42-
},
43-
{
44-
"href": "/myRes3URI",
45-
"rt": ["x.example.widget.method1"],
46-
"if": ["oic.if.rw", "oic.if.baseline"],
47-
"eps": [
48-
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
49-
]
50-
},
51-
{
52-
"href": "/myRes4URI",
53-
"rt": ["x.example.widget.method2"],
54-
"if": ["oic.if.rw", "oic.if.baseline"],
55-
"eps": [
56-
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
57-
]
58-
}
59-
],
60-
"schema": {
61-
"$ref": "#/definitions/slinks"
62-
}
63-
}
64-
}
65-
}
66-
},
67-
"/example/AllJoynObject?if=oic.if.baseline": {
68-
"get": {
69-
"description": "This Resource is a Collection of Resources that were all derived from the same AllJoyn object.\n",
70-
"parameters": [
71-
{"$ref": "#/parameters/interface-all"}
72-
],
73-
"responses": {
74-
"200": {
75-
"description": "",
76-
"x-example": {
77-
"rt": ["oic.r.alljoynobject", "oic.wk.col"],
78-
"links": [
79-
{
80-
"href": "/myRes1URI",
81-
"rt": ["x.example.widget.false"],
82-
"if": ["oic.if.r", "oic.if.rw", "oic.if.baseline"],
83-
"eps": [
84-
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
85-
]
86-
},
87-
{
88-
"href": "/myRes2URI",
89-
"rt": ["x.example.widget.true"],
90-
"if": ["oic.if.r", "oic.if.rw", "oic.if.baseline"],
91-
"eps": [
92-
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
93-
]
94-
},
95-
{
96-
"href": "/myRes3URI",
97-
"rt": ["x.example.widget.method1"],
98-
"if": ["oic.if.rw", "oic.if.baseline"],
99-
"eps": [
100-
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
101-
]
102-
},
103-
{
104-
"href": "/myRes4URI",
105-
"rt": ["x.example.widget.method2"],
106-
"if": ["oic.if.rw", "oic.if.baseline"],
107-
"eps": [
108-
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
109-
]
110-
}
111-
]
112-
},
113-
"schema": {
114-
"$ref": "#/definitions/AllJoynObject"
115-
}
116-
}
117-
}
118-
}
119-
}
120-
},
121-
"parameters": {
122-
"interface-all": {
123-
"in": "query",
124-
"name": "if",
125-
"type": "string",
126-
"enum": ["oic.if.ll", "oic.if.baseline"]
127-
}
128-
},
129-
"definitions": {
130-
"oic.oic-link": {
2+
"swagger": "2.0",
3+
"info": {
4+
"title": "AllJoynObject",
5+
"version": "2019-03-19",
6+
"license": {
7+
"name": "OCF Data Model License",
8+
"url": "https://github.com/openconnectivityfoundation/core/blob/e28a9e0a92e17042ba3e83661e4c0fbce8bdc4ba/LICENSE.md",
9+
"x-copyright": "Copyright 2016-2019 Open Connectivity Foundation, Inc. All rights reserved."
10+
},
11+
"termsOfService": "https://openconnectivityfoundation.github.io/core/DISCLAIMER.md"
12+
},
13+
"schemes": ["http"],
14+
"consumes": ["application/json"],
15+
"produces": ["application/json"],
16+
"paths": {
17+
"/example/AllJoynObject?if=oic.if.ll": {
18+
"get": {
19+
"description": "This Resource is a Collection of Resources that were all derived from the same AllJoyn object.\n",
20+
"parameters": [
21+
{"$ref": "#/parameters/interface-all"}
22+
],
23+
"responses": {
24+
"200": {
25+
"description": "",
26+
"x-example": [
27+
{
28+
"href": "/myRes1URI",
29+
"rt": ["x.example.widget.false"],
30+
"if": ["oic.if.r", "oic.if.rw", "oic.if.baseline"],
31+
"eps": [
32+
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
33+
]
34+
},
35+
{
36+
"href": "/myRes2URI",
37+
"rt": ["x.example.widget.true"],
38+
"if": ["oic.if.r", "oic.if.rw", "oic.if.baseline"],
39+
"eps": [
40+
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
41+
]
42+
},
43+
{
44+
"href": "/myRes3URI",
45+
"rt": ["x.example.widget.method1"],
46+
"if": ["oic.if.rw", "oic.if.baseline"],
47+
"eps": [
48+
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
49+
]
50+
},
51+
{
52+
"href": "/myRes4URI",
53+
"rt": ["x.example.widget.method2"],
54+
"if": ["oic.if.rw", "oic.if.baseline"],
55+
"eps": [
56+
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
57+
]
58+
}
59+
],
60+
"schema": {
61+
"$ref": "#/definitions/slinks"
62+
}
63+
}
64+
}
65+
}
66+
},
67+
"/example/AllJoynObject?if=oic.if.baseline": {
68+
"get": {
69+
"description": "This Resource is a Collection of Resources that were all derived from the same AllJoyn object.\n",
70+
"parameters": [
71+
{"$ref": "#/parameters/interface-all"}
72+
],
73+
"responses": {
74+
"200": {
75+
"description": "",
76+
"x-example": {
77+
"rt": ["oic.r.alljoynobject", "oic.wk.col"],
78+
"links": [
79+
{
80+
"href": "/myRes1URI",
81+
"rt": ["x.example.widget.false"],
82+
"if": ["oic.if.r", "oic.if.rw", "oic.if.baseline"],
83+
"eps": [
84+
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
85+
]
86+
},
87+
{
88+
"href": "/myRes2URI",
89+
"rt": ["x.example.widget.true"],
90+
"if": ["oic.if.r", "oic.if.rw", "oic.if.baseline"],
91+
"eps": [
92+
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
93+
]
94+
},
95+
{
96+
"href": "/myRes3URI",
97+
"rt": ["x.example.widget.method1"],
98+
"if": ["oic.if.rw", "oic.if.baseline"],
99+
"eps": [
100+
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
101+
]
102+
},
103+
{
104+
"href": "/myRes4URI",
105+
"rt": ["x.example.widget.method2"],
106+
"if": ["oic.if.rw", "oic.if.baseline"],
107+
"eps": [
108+
{"ep": "coaps://[2001:db8:a::b1d4]:11111"}
109+
]
110+
}
111+
]
112+
},
113+
"schema": {
114+
"$ref": "#/definitions/AllJoynObject"
115+
}
116+
}
117+
}
118+
}
119+
}
120+
},
121+
"parameters": {
122+
"interface-all": {
123+
"in": "query",
124+
"name": "if",
125+
"type": "string",
126+
"enum": ["oic.if.ll", "oic.if.baseline"]
127+
}
128+
},
129+
"definitions": {
130+
"oic.oic-link": {
131131
"type": "object",
132132
"properties": {
133133
"anchor": {
@@ -196,44 +196,44 @@
196196
"$ref": "#/definitions/oic.oic-link"
197197
}
198198
},
199-
"AllJoynObject": {
200-
"type": "object",
201-
"properties": {
202-
"id": {
203-
"$ref": "https://openconnectivityfoundation.github.io/core/schemas/oic.common.properties.core-schema.json#/definitions/id"
204-
},
205-
"if": {
206-
"description": "The interface set supported by this resource",
207-
"items": {
208-
"enum": ["oic.if.baseline", "oic.if.ll"],
209-
"type": "string"
210-
},
211-
"minItems": 1,
212-
"readOnly": true,
213-
"type": "array"
214-
},
215-
"n": {
216-
"$ref": "https://openconnectivityfoundation.github.io/core/schemas/oic.common.properties.core-schema.json#/definitions/n"
217-
},
218-
"rt": {
219-
"items": {
220-
"enum": ["oic.r.alljoynobject", "oic.wk.col"],
221-
"type": "string"
222-
},
223-
"maxItems": 2,
224-
"minItems": 2,
225-
"uniqueItems": true,
226-
"readOnly": true,
227-
"type": "array"
228-
},
229-
"links" : {
230-
"type": "array",
231-
"description": "A set of OCF Links.",
232-
"items": {
233-
"$ref": "#/definitions/oic.oic-link"
234-
}
235-
}
236-
}
237-
}
238-
}
199+
"AllJoynObject": {
200+
"type": "object",
201+
"properties": {
202+
"id": {
203+
"$ref": "https://openconnectivityfoundation.github.io/core/schemas/oic.common.properties.core-schema.json#/definitions/id"
204+
},
205+
"if": {
206+
"description": "The interface set supported by this resource",
207+
"items": {
208+
"enum": ["oic.if.baseline", "oic.if.ll"],
209+
"type": "string"
210+
},
211+
"minItems": 1,
212+
"readOnly": true,
213+
"type": "array"
214+
},
215+
"n": {
216+
"$ref": "https://openconnectivityfoundation.github.io/core/schemas/oic.common.properties.core-schema.json#/definitions/n"
217+
},
218+
"rt": {
219+
"items": {
220+
"enum": ["oic.r.alljoynobject", "oic.wk.col"],
221+
"type": "string"
222+
},
223+
"maxItems": 2,
224+
"minItems": 2,
225+
"uniqueItems": true,
226+
"readOnly": true,
227+
"type": "array"
228+
},
229+
"links" : {
230+
"type": "array",
231+
"description": "A set of OCF Links.",
232+
"items": {
233+
"$ref": "#/definitions/oic.oic-link"
234+
}
235+
}
236+
}
237+
}
238+
}
239239
}

0 commit comments

Comments
 (0)