-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom-elements.json
119 lines (119 loc) · 3.93 KB
/
custom-elements.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"version": "experimental",
"tags": [
{
"name": "api-schema-document",
"path": "./api-schema-document.js",
"description": "`api-schema-document`\n\nA component to render XML schema with examples.\n\nNote, if AMF contains unresolved properties (reference-id without resolving\nthe value) this element will resolve it. `amf` must be set on this\nelement to resolve the references.",
"attributes": [
{
"name": "mediaType",
"description": "A media type of the schema. Currently only `application/json` and\n`application/xml` is supported.",
"type": "string"
},
{
"name": "parentTypeId",
"description": "A parent AMF shape ID, if available.\nThis is to be used when the view renders examples for method documentation\nand parent type is Payload definition.",
"type": "string"
},
{
"name": "selectedPage",
"description": "Currently selected tab.\nRelevant when the example contains both example and schema.",
"type": "number"
},
{
"name": "compatibility",
"description": "Enables compatibility with Anypoint components.",
"type": "boolean"
}
],
"properties": [
{
"name": "styles",
"type": "CSSResult"
},
{
"name": "shape",
"description": "AMF's shape object object.\nValues for sheba and examples are computed from this model."
},
{
"name": "mediaType",
"attribute": "mediaType",
"description": "A media type of the schema. Currently only `application/json` and\n`application/xml` is supported.",
"type": "string"
},
{
"name": "parentTypeId",
"attribute": "parentTypeId",
"description": "A parent AMF shape ID, if available.\nThis is to be used when the view renders examples for method documentation\nand parent type is Payload definition.",
"type": "string"
},
{
"name": "selectedPage",
"attribute": "selectedPage",
"description": "Currently selected tab.\nRelevant when the example contains both example and schema.",
"type": "number"
},
{
"name": "compatibility",
"attribute": "compatibility",
"description": "Enables compatibility with Anypoint components.",
"type": "boolean"
},
{
"name": "ns",
"description": "A namespace for AMF model.",
"type": "Namespace"
},
{
"name": "amf",
"description": "Generated AMF json/ld model form the API spec.\nThe element assumes the object of the first array item to be a\ntype of `\"http://raml.org/vocabularies/document#Document`\non AMF vocabulary.\n\nIt is only useful for the element to resolve references.",
"type": "object | object[] | undefined"
}
]
},
{
"name": "api-schema-render",
"path": "./api-schema-render.js",
"attributes": [
{
"name": "code",
"description": "Data to render.",
"type": "string"
},
{
"name": "type",
"description": "A syntax highlighter type. One of PrismJs types.",
"type": "string"
}
],
"properties": [
{
"name": "styles",
"type": "CSSResult"
},
{
"name": "code",
"attribute": "code",
"description": "Data to render.",
"type": "string"
},
{
"name": "type",
"attribute": "type",
"description": "A syntax highlighter type. One of PrismJs types.",
"type": "string"
},
{
"name": "highlightType",
"type": "string"
}
],
"events": [
{
"name": "syntax-highlight"
}
]
}
]
}