-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathcustom-elements.json
More file actions
248 lines (248 loc) · 10.6 KB
/
Copy pathcustom-elements.json
File metadata and controls
248 lines (248 loc) · 10.6 KB
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
{
"version": "experimental",
"tags": [
{
"name": "api-oauth1-settings-document",
"path": "./api-oauth1-settings-document.js",
"description": "`api-oauth1-settings-document`\n\nDocumentation view for AMF OAuth2 security settings.\n\nSettings can be passed by setting the `settings` property to AMF's\nsettings property of Security Scheme.\n\n```html\n<api-oauth1-settings-document\n amf-model=\"{...}\"\n settings=\"{...}\"></api-oauth1-settings-document>\n```\n\nIt is also possible to set corresponding properties directly.\n\n```html\n<api-oauth1-settings-document\n amf-model=\"{...}\"\n request-token-uri=\"https://...\"\n authorization-uri=\"https://...\"\n signatures='[\"RSA-SHA1\"]'></api-oauth1-settings-document>\n```",
"attributes": [
{
"name": "requestTokenUri",
"description": "The request token URI from the settings model.\nAutomatically set when `settings` property change.",
"type": "string"
},
{
"name": "authorizationUri",
"description": "The authorization endpoint URI.\nAutomatically set when `settings` property change.",
"type": "string"
},
{
"name": "tokenCredentialsUri",
"description": "Token credentials endpoint URI.\nAutomatically set when `settings` property change.",
"type": "string"
}
],
"properties": [
{
"name": "styles",
"type": "CSSResult"
},
{
"name": "settings",
"description": "OAuth1 settings scheme of AMF.\nWhen this property changes it resets other properties."
},
{
"name": "requestTokenUri",
"attribute": "requestTokenUri",
"description": "The request token URI from the settings model.\nAutomatically set when `settings` property change.",
"type": "string"
},
{
"name": "authorizationUri",
"attribute": "authorizationUri",
"description": "The authorization endpoint URI.\nAutomatically set when `settings` property change.",
"type": "string"
},
{
"name": "tokenCredentialsUri",
"attribute": "tokenCredentialsUri",
"description": "Token credentials endpoint URI.\nAutomatically set when `settings` property change.",
"type": "string"
},
{
"name": "signatures",
"description": "List of signatures used by this authorization server.\nAutomatically set when `settings` property change.",
"type": "string[]"
},
{
"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-oauth2-flow-document",
"path": "./api-oauth2-flow-document.js",
"attributes": [
{
"name": "accessTokenUri",
"description": "Access token URI value.\nThis property is updated when `flow` property changes.",
"type": "string"
},
{
"name": "authorizationUri",
"description": "Authorization URI value.\nThis property is updated when `flow` property changes.",
"type": "string"
},
{
"name": "authorizationGrant",
"description": "Value of OAuth2 authorization grant.\nThis property is updated when `flow` property changes.\nOnly available in OAS 3.0+",
"type": "string"
}
],
"properties": [
{
"name": "accessTokenUri",
"attribute": "accessTokenUri",
"description": "Access token URI value.\nThis property is updated when `flow` property changes.",
"type": "string"
},
{
"name": "authorizationUri",
"attribute": "authorizationUri",
"description": "Authorization URI value.\nThis property is updated when `flow` property changes.",
"type": "string"
},
{
"name": "authorizationGrant",
"attribute": "authorizationGrant",
"description": "Value of OAuth2 authorization grant.\nThis property is updated when `flow` property changes.\nOnly available in OAS 3.0+",
"type": "string"
},
{
"name": "scopes",
"description": "List of OAuth2 authorization scopes.\nThis property is updated when `flow` property changes.\n\nEach array item must have `label` and optional `description`\nproperties.",
"type": "FlowScope[]"
},
{
"name": "styles",
"type": "CSSResult"
},
{
"name": "flow",
"description": "The flow definition to render."
},
{
"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-oauth2-settings-document",
"path": "./api-oauth2-settings-document.js",
"description": "`api-oauth2-settings-document`\n\nDocumentation view for AMF OAuth2 security settings.\n\nSettings can be passed by setting the `settings` property to AMF's\nsettings property of Security Scheme.\n\n```html\n<api-oauth2-settings-document\n amf-model=\"{...}\"\n settings=\"{...}\"></api-oauth1-settings-document>\n```\n\nIt is also possible to set corresponding properties directly.\n\n```html\n<api-oauth2-settings-document\n amf-model=\"{...}\"\n access-token-uri=\"https://...\"\n authorization-uri=\"https://...\"\n authorization-grants='[\"implicit\"]'></api-oauth1-settings-document>\n```",
"properties": [
{
"name": "settings",
"description": "OAuth2 settings scheme of AMF.\nWhen this property changes it resets other properties."
},
{
"name": "flows",
"description": "List of OAuth2 authorization flows.\nThis property is updated when `settings` property changes.\nOnly available in OAS 3.0+",
"type": "array"
},
{
"name": "authorizationGrants",
"description": "List of OAuth2 authorization grants.\nThis property is updated when `settings` property changes.\nNot available in OAS 3.0+",
"type": "string[]"
},
{
"name": "styles",
"type": "CSSResult"
},
{
"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-security-documentation",
"path": "./api-security-documentation.js",
"description": "`api-security-documentation`\n\nDocumentation view for AMF security description",
"attributes": [
{
"name": "type",
"description": "Security scheme type name.\nThe value is updated automatically when `security` property change.",
"type": "string"
},
{
"name": "description",
"description": "Security scheme description.\nThe value is updated automatically when `security` property change.",
"type": "string"
},
{
"name": "narrow",
"description": "Set to render a mobile friendly view.",
"type": "boolean"
}
],
"properties": [
{
"name": "styles",
"type": "CSSResult[]"
},
{
"name": "security",
"description": "A security definition to render.\nThis should be AMF's type of `http://raml.org/vocabularies/security#SecurityScheme`."
},
{
"name": "type",
"attribute": "type",
"description": "Security scheme type name.\nThe value is updated automatically when `security` property change.",
"type": "string"
},
{
"name": "description",
"attribute": "description",
"description": "Security scheme description.\nThe value is updated automatically when `security` property change.",
"type": "string"
},
{
"name": "headers",
"description": "AMF headers model.\nList of headers to apply to this scheme.\nThis value is updated automatically when `security` property change.\n{Array<Object>}",
"type": "array"
},
{
"name": "queryParameters",
"description": "AMF query parameters model.\nList of query parameters to apply to this scheme.\nThis value is updated automatically when `security` property change.\n{Array<Object>}",
"type": "array"
},
{
"name": "responses",
"description": "AMF responses model.\nList of responses applied to this security scheme.\nThis value is updated automatically when `security` property change.\n{Array<Object>}",
"type": "array"
},
{
"name": "settings",
"description": "AMF settings model for a security scheme.\nThis value is updated automatically when `security` property change."
},
{
"name": "narrow",
"attribute": "narrow",
"description": "Set to render a mobile friendly view.",
"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"
}
]
}
]
}