Skip to content

Commit 38bc48c

Browse files
author
Ole Lensmar
committed
changed the apis.json example to use a single object property
1 parent 402595e commit 38bc48c

File tree

1 file changed

+27
-25
lines changed

1 file changed

+27
-25
lines changed

guidelines/EXTENSIONS.md

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -24,31 +24,33 @@ For example, a vendor extension that adds apis.json specific metadata a Swagger
2424
"version": "1.0",
2525
"title": "Analysis",
2626
"description" : "Provides access to blog posts and analysis across the API Evangelist network.",
27-
"x-apis-json-image": "https://s3.amazonaws.com/kinlane-productions/api-evangelist/t-shirts/KL_InApiWeTrust-1000.png",
28-
"x-apis-json-humanURL": "http://developer.apievangelist.com",
29-
"x-apis-json-baseURL": "http://api.apievangelist.com/definitions/Analysis",
30-
"x-apis-json-tags": [
31-
"blog",
32-
"industry",
33-
"analysis",
34-
"new",
35-
"API",
36-
"Application Programming Interface"
37-
],
38-
"x-apis-json-properties": [
39-
{
40-
"type": "X-signup",
41-
"url": "https://apievangelist.3scale.net/"
42-
},
43-
{
44-
"type": "X-blog",
45-
"url": "http://developer.apievangelist.com/blog/"
46-
},
47-
{
48-
"type": "X-apicommonsmanifest",
49-
"url": "https://raw.githubusercontent.com/kinlane/analysis-api/master/api-commons-manifest.json"
50-
}
51-
],
27+
"x-apis-json" : {
28+
"image": "https://s3.amazonaws.com/kinlane-productions/api-evangelist/t-shirts/KL_InApiWeTrust-1000.png",
29+
"humanURL": "http://developer.apievangelist.com",
30+
"baseURL": "http://api.apievangelist.com/definitions/Analysis",
31+
"tags": [
32+
"blog",
33+
"industry",
34+
"analysis",
35+
"new",
36+
"API",
37+
"Application Programming Interface"
38+
],
39+
"properties": [
40+
{
41+
"type": "X-signup",
42+
"url": "https://apievangelist.3scale.net/"
43+
},
44+
{
45+
"type": "X-blog",
46+
"url": "http://developer.apievangelist.com/blog/"
47+
},
48+
{
49+
"type": "X-apicommonsmanifest",
50+
"url": "https://raw.githubusercontent.com/kinlane/analysis-api/master/api-commons-manifest.json"
51+
}
52+
],
53+
}
5254
},
5355
"basePath": "/",
5456
"paths": {

0 commit comments

Comments
 (0)