@api-client/core 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (195) hide show
  1. package/build/browser.d.ts +5 -4
  2. package/build/browser.js +1 -0
  3. package/build/browser.js.map +1 -1
  4. package/build/index.d.ts +5 -4
  5. package/build/index.js +1 -0
  6. package/build/index.js.map +1 -1
  7. package/build/oauth-popup.html +29 -0
  8. package/build/src/amf/AmfMixin.d.ts +2 -1
  9. package/build/src/amf/AmfMixin.js.map +1 -1
  10. package/build/src/amf/AmfShapeGenerator.d.ts +2 -0
  11. package/build/src/amf/AmfShapeGenerator.js +2 -0
  12. package/build/src/amf/AmfShapeGenerator.js.map +1 -1
  13. package/build/src/amf/ApiSchemaValues.d.ts +4 -4
  14. package/build/src/amf/ApiSchemaValues.js.map +1 -1
  15. package/build/src/amf/Utils.js +3 -1
  16. package/build/src/amf/Utils.js.map +1 -1
  17. package/build/src/amf/data-node/XmlDataNodeGenerator.js +2 -1
  18. package/build/src/amf/data-node/XmlDataNodeGenerator.js.map +1 -1
  19. package/build/src/amf/shape/ShapeBase.d.ts +1 -1
  20. package/build/src/amf/shape/ShapeJsonSchemaGenerator.js +4 -2
  21. package/build/src/amf/shape/ShapeJsonSchemaGenerator.js.map +1 -1
  22. package/build/src/amf/shape/ShapeXmlSchemaGenerator.d.ts +13 -13
  23. package/build/src/amf/shape/ShapeXmlSchemaGenerator.js +25 -7
  24. package/build/src/amf/shape/ShapeXmlSchemaGenerator.js.map +1 -1
  25. package/build/src/authorization/OAuth2Authorization.d.ts +4 -4
  26. package/build/src/authorization/OAuth2Authorization.js +7 -7
  27. package/build/src/authorization/OAuth2Authorization.js.map +1 -1
  28. package/build/src/authorization/OidcAuthorization.js +0 -1
  29. package/build/src/authorization/OidcAuthorization.js.map +1 -1
  30. package/build/src/data/XmlReader.js +2 -0
  31. package/build/src/data/XmlReader.js.map +1 -1
  32. package/build/src/events/CustomEvent.d.ts +1 -1
  33. package/build/src/events/CustomEvent.js +1 -1
  34. package/build/src/lib/logging/DefaultLogger.js +1 -0
  35. package/build/src/lib/logging/DefaultLogger.js.map +1 -1
  36. package/build/src/lib/parsers/UriTemplate.js +1 -1
  37. package/build/src/lib/parsers/UrlEncoder.js +1 -0
  38. package/build/src/lib/parsers/UrlEncoder.js.map +1 -1
  39. package/build/src/lib/timers/Timers.d.ts +9 -0
  40. package/build/src/lib/timers/Timers.js +13 -0
  41. package/build/src/lib/timers/Timers.js.map +1 -1
  42. package/build/src/mocking/LegacyInterfaces.d.ts +1 -2
  43. package/build/src/mocking/LegacyMock.js +0 -1
  44. package/build/src/mocking/LegacyMock.js.map +1 -1
  45. package/build/src/mocking/legacy/Http.js +1 -1
  46. package/build/src/mocking/legacy/Http.js.map +1 -1
  47. package/build/src/models/data/DataNamespace.d.ts +0 -1
  48. package/build/src/models/data/DataNamespace.js +1 -1
  49. package/build/src/models/data/DataNamespace.js.map +1 -1
  50. package/build/src/models/store/Permission.js.map +1 -1
  51. package/build/src/models/transformers/ArcLegacyTransformer.js +1 -0
  52. package/build/src/models/transformers/ArcLegacyTransformer.js.map +1 -1
  53. package/build/src/models/transformers/PostmanV21Transformer.d.ts +1 -2
  54. package/build/src/models/transformers/PostmanV21Transformer.js +2 -0
  55. package/build/src/models/transformers/PostmanV21Transformer.js.map +1 -1
  56. package/build/src/models/transformers/PostmanV2Transformer.js +2 -0
  57. package/build/src/models/transformers/PostmanV2Transformer.js.map +1 -1
  58. package/build/src/runtime/store/AuthSdk.js +1 -0
  59. package/build/src/runtime/store/AuthSdk.js.map +1 -1
  60. package/build/src/runtime/store/SdkBase.js.map +1 -1
  61. package/build/src/testing/TestCliHelper.js.map +1 -1
  62. package/data/apis/APIC-187/APIC-187.raml +21 -0
  63. package/data/apis/APIC-187/dataType.raml +132 -0
  64. package/data/apis/APIC-187/example.raml +84 -0
  65. package/data/apis/APIC-188/APIC-188.raml +21 -0
  66. package/data/apis/APIC-188/dataType.raml +132 -0
  67. package/data/apis/APIC-188/example.raml +84 -0
  68. package/data/apis/APIC-233/APIC-233.raml +15 -0
  69. package/data/apis/APIC-391/APIC-391.raml +44 -0
  70. package/data/apis/APIC-391/examples/post-body-request-example.raml +7 -0
  71. package/data/apis/APIC-487/APIC-487.raml +36 -0
  72. package/data/apis/APIC-655/APIC-655.raml +44 -0
  73. package/data/apis/APIC-655/delivery.json +12 -0
  74. package/data/apis/APIC-689/APIC-689.raml +20 -0
  75. package/data/apis/APIC-690/APIC-690.raml +17 -0
  76. package/data/apis/APIC-690/datatypes/Address.raml +10 -0
  77. package/data/apis/APIC-690/datatypes/Customer.raml +17 -0
  78. package/data/apis/APIC-690/examples/CustomerExample2.raml +17 -0
  79. package/data/apis/APIC-690/examples/CustomersExample.raml +34 -0
  80. package/data/apis/SE-10469/Purchase-Order-oagis-id-dd32f9c6c01048a19e15c423c9c741ae.json +1383 -0
  81. package/data/apis/SE-10469/SE-10469.raml +11 -0
  82. package/data/apis/SE-13092/Examples/PersonExample.raml +7 -0
  83. package/data/apis/SE-13092/SE-13092.raml +37 -0
  84. package/data/apis/SE-13092/datatypes/Address.raml +5 -0
  85. package/data/apis/SE-13092/datatypes/InlineType.raml +5 -0
  86. package/data/apis/SE-13092/datatypes/Person.raml +15 -0
  87. package/data/apis/SE-22063/SE-22063.raml +14 -0
  88. package/data/apis/SE-22063/stock.raml +41 -0
  89. package/data/apis/amf-helper-api/amf-helper-api.raml +1024 -0
  90. package/data/apis/amf-helper-api/examples/comment-example.json +42 -0
  91. package/data/apis/amf-helper-api/examples/commentCreateRequest-example.json +7 -0
  92. package/data/apis/amf-helper-api/examples/commentList-example.json +48 -0
  93. package/data/apis/amf-helper-api/examples/person.json +14 -0
  94. package/data/apis/amf-helper-api/examples/person.raml +13 -0
  95. package/data/apis/amf-helper-api/examples/person.xml +14 -0
  96. package/data/apis/amf-helper-api/libraries/comment-lib.raml +143 -0
  97. package/data/apis/amf-helper-api/library.raml +7 -0
  98. package/data/apis/amf-helper-api/schemas/person.json +104 -0
  99. package/data/apis/amf-helper-api/schemas/person.xsd +26 -0
  100. package/data/apis/amf-helper-api/traits/file.raml +33 -0
  101. package/data/apis/amf-helper-api/traits/pagination.raml +80 -0
  102. package/data/apis/amf-helper-api/traits/results.raml +19 -0
  103. package/data/apis/amf-helper-api/traits/visibility.raml +14 -0
  104. package/data/apis/amf-helper-api/types/app-person.raml +101 -0
  105. package/data/apis/amf-helper-api/types/dimensions.raml +24 -0
  106. package/data/apis/amf-helper-api/types/external-type.raml +7 -0
  107. package/data/apis/amf-helper-api/types/image.raml +23 -0
  108. package/data/apis/amf-helper-api/types/product.raml +52 -0
  109. package/data/apis/amf-helper-api/types/resource.raml +11 -0
  110. package/data/apis/amf-helper-api/types/standard-request.raml +50 -0
  111. package/data/apis/amf-helper-api/types/user.raml +37 -0
  112. package/data/apis/async-api/async-api.yaml +96 -0
  113. package/data/apis/example-generator-api/contact-email-example.raml +6 -0
  114. package/data/apis/example-generator-api/contact-example.raml +5 -0
  115. package/data/apis/example-generator-api/contact-fax-example.raml +5 -0
  116. package/data/apis/example-generator-api/contact-website-example.raml +2 -0
  117. package/data/apis/example-generator-api/example-1.raml +6 -0
  118. package/data/apis/example-generator-api/example-2.raml +9 -0
  119. package/data/apis/example-generator-api/example-3.raml +4 -0
  120. package/data/apis/example-generator-api/example-4.raml +2 -0
  121. package/data/apis/example-generator-api/example-5.raml +4 -0
  122. package/data/apis/example-generator-api/example-6.raml +2 -0
  123. package/data/apis/example-generator-api/example-7.raml +5 -0
  124. package/data/apis/example-generator-api/example-generator-api.raml +423 -0
  125. package/data/apis/example-generator-api/example.json +14 -0
  126. package/data/apis/example-generator-api/example.xml +15 -0
  127. package/data/apis/example-generator-api/example.xsd +26 -0
  128. package/data/apis/example-generator-api/examples/employee.raml +7 -0
  129. package/data/apis/example-generator-api/examples/employees.raml +7 -0
  130. package/data/apis/example-generator-api/linked-named-example.raml +21 -0
  131. package/data/apis/example-generator-api/named-example-with-link.raml +5 -0
  132. package/data/apis/example-generator-api/named-example.raml +9 -0
  133. package/data/apis/example-generator-api/user-json-example.raml +17 -0
  134. package/data/apis/example-generator-api/user-raml-example.raml +37 -0
  135. package/data/apis/example-generator-api/user.json +8 -0
  136. package/data/apis/example-generator-api/user.raml +18 -0
  137. package/data/apis/example-generator-api/users-json-example.raml +17 -0
  138. package/data/apis/example-generator-api/users-raml-example.raml +32 -0
  139. package/data/apis/example-generator-api/users.json +8 -0
  140. package/data/apis/expanded-api/expanded-api.raml +8 -0
  141. package/data/apis/flattened-api/flattened-api.raml +8 -0
  142. package/data/apis/multiple-servers/multiple-servers.yaml +112 -0
  143. package/data/apis/schema-api/schema-api.raml +13 -1
  144. package/data/apis/tracked-examples/datatypes/employee.raml +5 -0
  145. package/data/apis/tracked-examples/examples/employee.raml +4 -0
  146. package/data/apis/tracked-examples/examples/employees.raml +8 -0
  147. package/data/apis/tracked-examples/tracked-to-linked.raml +28 -0
  148. package/data/model.js +19 -0
  149. package/data/models/APIC-187.json +11398 -0
  150. package/data/models/APIC-188.json +11398 -0
  151. package/data/models/APIC-233.json +539 -0
  152. package/data/models/APIC-391.json +1872 -0
  153. package/data/models/APIC-487.json +1225 -0
  154. package/data/models/APIC-655.json +3109 -0
  155. package/data/models/APIC-689.json +761 -0
  156. package/data/models/APIC-690.json +5992 -0
  157. package/data/models/SE-10469.json +22882 -0
  158. package/data/models/SE-13092.json +2715 -0
  159. package/data/models/SE-22063.json +2276 -0
  160. package/data/models/amf-helper-api.json +85908 -0
  161. package/data/models/async-api.json +3108 -0
  162. package/data/models/example-generator-api.json +44978 -0
  163. package/data/models/expanded-api.json +251 -0
  164. package/data/models/flattened-api.json +251 -0
  165. package/data/models/multiple-servers.json +2753 -0
  166. package/data/models/schema-api.json +436 -428
  167. package/data/models/tracked-to-linked.json +1790 -0
  168. package/package.json +6 -5
  169. package/src/amf/AmfMixin.ts +3 -2
  170. package/src/amf/AmfShapeGenerator.ts +5 -3
  171. package/src/amf/ApiSchemaValues.ts +5 -5
  172. package/src/amf/Utils.ts +6 -4
  173. package/src/amf/data-node/XmlDataNodeGenerator.ts +2 -1
  174. package/src/amf/shape/ShapeBase.ts +1 -1
  175. package/src/amf/shape/ShapeJsonSchemaGenerator.ts +4 -2
  176. package/src/amf/shape/ShapeXmlSchemaGenerator.ts +85 -66
  177. package/src/authorization/OAuth2Authorization.ts +33 -32
  178. package/src/authorization/OidcAuthorization.ts +3 -4
  179. package/src/data/XmlReader.ts +7 -5
  180. package/src/events/CustomEvent.ts +1 -1
  181. package/src/lib/logging/DefaultLogger.ts +1 -0
  182. package/src/lib/parsers/UriTemplate.ts +1 -1
  183. package/src/lib/parsers/UrlEncoder.ts +1 -0
  184. package/src/lib/timers/Timers.ts +14 -0
  185. package/src/mocking/LegacyInterfaces.ts +1 -2
  186. package/src/mocking/LegacyMock.ts +0 -1
  187. package/src/mocking/legacy/Http.ts +1 -1
  188. package/src/models/data/DataNamespace.ts +2 -2
  189. package/src/models/store/Permission.ts +1 -1
  190. package/src/models/transformers/ArcLegacyTransformer.ts +1 -0
  191. package/src/models/transformers/PostmanV21Transformer.ts +3 -2
  192. package/src/models/transformers/PostmanV2Transformer.ts +2 -0
  193. package/src/runtime/store/AuthSdk.ts +1 -0
  194. package/src/runtime/store/SdkBase.ts +1 -0
  195. package/src/testing/TestCliHelper.ts +1 -0
@@ -0,0 +1,251 @@
1
+ {
2
+ "@graph": [
3
+ {
4
+ "@id": "#1",
5
+ "@type": [
6
+ "doc:APIContractProcessingData"
7
+ ],
8
+ "apiContract:modelVersion": "3.7.0",
9
+ "doc:transformed": true,
10
+ "doc:sourceSpec": "RAML 1.0"
11
+ },
12
+ {
13
+ "@id": "#2",
14
+ "@type": [
15
+ "apiContract:WebAPI",
16
+ "apiContract:API",
17
+ "doc:RootDomainElement",
18
+ "doc:DomainElement"
19
+ ],
20
+ "core:name": "Simple API",
21
+ "apiContract:endpoint": [
22
+ {
23
+ "@id": "#3"
24
+ }
25
+ ],
26
+ "sourcemaps:sources": [
27
+ {
28
+ "@id": "#2/source-map"
29
+ }
30
+ ]
31
+ },
32
+ {
33
+ "@id": "#3",
34
+ "@type": [
35
+ "apiContract:EndPoint",
36
+ "doc:DomainElement"
37
+ ],
38
+ "apiContract:path": "/people",
39
+ "apiContract:supportedOperation": [
40
+ {
41
+ "@id": "#4"
42
+ },
43
+ {
44
+ "@id": "#5"
45
+ },
46
+ {
47
+ "@id": "#6"
48
+ },
49
+ {
50
+ "@id": "#7"
51
+ }
52
+ ],
53
+ "sourcemaps:sources": [
54
+ {
55
+ "@id": "#3/source-map"
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "@id": "#2/source-map",
61
+ "@type": [
62
+ "sourcemaps:SourceMap"
63
+ ],
64
+ "sourcemaps:lexical": [
65
+ {
66
+ "@id": "#2/source-map/lexical/element_1"
67
+ },
68
+ {
69
+ "@id": "#2/source-map/lexical/element_0"
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "@id": "#4",
75
+ "@type": [
76
+ "apiContract:Operation",
77
+ "core:Operation",
78
+ "doc:DomainElement"
79
+ ],
80
+ "apiContract:method": "get",
81
+ "sourcemaps:sources": [
82
+ {
83
+ "@id": "#4/source-map"
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "@id": "#5",
89
+ "@type": [
90
+ "apiContract:Operation",
91
+ "core:Operation",
92
+ "doc:DomainElement"
93
+ ],
94
+ "apiContract:method": "post",
95
+ "sourcemaps:sources": [
96
+ {
97
+ "@id": "#5/source-map"
98
+ }
99
+ ]
100
+ },
101
+ {
102
+ "@id": "#6",
103
+ "@type": [
104
+ "apiContract:Operation",
105
+ "core:Operation",
106
+ "doc:DomainElement"
107
+ ],
108
+ "apiContract:method": "put",
109
+ "sourcemaps:sources": [
110
+ {
111
+ "@id": "#6/source-map"
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "@id": "#7",
117
+ "@type": [
118
+ "apiContract:Operation",
119
+ "core:Operation",
120
+ "doc:DomainElement"
121
+ ],
122
+ "apiContract:method": "patch",
123
+ "sourcemaps:sources": [
124
+ {
125
+ "@id": "#7/source-map"
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "@id": "#3/source-map",
131
+ "@type": [
132
+ "sourcemaps:SourceMap"
133
+ ],
134
+ "sourcemaps:lexical": [
135
+ {
136
+ "@id": "#3/source-map/lexical/element_1"
137
+ },
138
+ {
139
+ "@id": "#3/source-map/lexical/element_0"
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ "@id": "#2/source-map/lexical/element_1",
145
+ "sourcemaps:element": "amf://id#2",
146
+ "sourcemaps:value": "[(2,0)-(9,0)]"
147
+ },
148
+ {
149
+ "@id": "#2/source-map/lexical/element_0",
150
+ "sourcemaps:element": "core:name",
151
+ "sourcemaps:value": "[(2,0)-(4,0)]"
152
+ },
153
+ {
154
+ "@id": "#4/source-map",
155
+ "@type": [
156
+ "sourcemaps:SourceMap"
157
+ ],
158
+ "sourcemaps:lexical": [
159
+ {
160
+ "@id": "#4/source-map/lexical/element_0"
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ "@id": "#5/source-map",
166
+ "@type": [
167
+ "sourcemaps:SourceMap"
168
+ ],
169
+ "sourcemaps:lexical": [
170
+ {
171
+ "@id": "#5/source-map/lexical/element_0"
172
+ }
173
+ ]
174
+ },
175
+ {
176
+ "@id": "#6/source-map",
177
+ "@type": [
178
+ "sourcemaps:SourceMap"
179
+ ],
180
+ "sourcemaps:lexical": [
181
+ {
182
+ "@id": "#6/source-map/lexical/element_0"
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "@id": "#7/source-map",
188
+ "@type": [
189
+ "sourcemaps:SourceMap"
190
+ ],
191
+ "sourcemaps:lexical": [
192
+ {
193
+ "@id": "#7/source-map/lexical/element_0"
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "@id": "#3/source-map/lexical/element_1",
199
+ "sourcemaps:element": "amf://id#3",
200
+ "sourcemaps:value": "[(4,0)-(9,0)]"
201
+ },
202
+ {
203
+ "@id": "#3/source-map/lexical/element_0",
204
+ "sourcemaps:element": "apiContract:path",
205
+ "sourcemaps:value": "[(4,0)-(4,7)]"
206
+ },
207
+ {
208
+ "@id": "#4/source-map/lexical/element_0",
209
+ "sourcemaps:element": "amf://id#4",
210
+ "sourcemaps:value": "[(5,2)-(6,0)]"
211
+ },
212
+ {
213
+ "@id": "#5/source-map/lexical/element_0",
214
+ "sourcemaps:element": "amf://id#5",
215
+ "sourcemaps:value": "[(6,2)-(7,0)]"
216
+ },
217
+ {
218
+ "@id": "#6/source-map/lexical/element_0",
219
+ "sourcemaps:element": "amf://id#6",
220
+ "sourcemaps:value": "[(7,2)-(8,0)]"
221
+ },
222
+ {
223
+ "@id": "#7/source-map/lexical/element_0",
224
+ "sourcemaps:element": "amf://id#7",
225
+ "sourcemaps:value": "[(8,2)-(9,0)]"
226
+ },
227
+ {
228
+ "@id": "",
229
+ "@type": [
230
+ "doc:Document",
231
+ "doc:Fragment",
232
+ "doc:Module",
233
+ "doc:Unit"
234
+ ],
235
+ "doc:encodes": {
236
+ "@id": "#2"
237
+ },
238
+ "doc:root": true,
239
+ "doc:processingData": {
240
+ "@id": "#1"
241
+ }
242
+ }
243
+ ],
244
+ "@context": {
245
+ "@base": "amf://id",
246
+ "doc": "http://a.ml/vocabularies/document#",
247
+ "apiContract": "http://a.ml/vocabularies/apiContract#",
248
+ "core": "http://a.ml/vocabularies/core#",
249
+ "sourcemaps": "http://a.ml/vocabularies/document-source-maps#"
250
+ }
251
+ }
@@ -0,0 +1,251 @@
1
+ {
2
+ "@graph": [
3
+ {
4
+ "@id": "#1",
5
+ "@type": [
6
+ "doc:APIContractProcessingData"
7
+ ],
8
+ "apiContract:modelVersion": "3.7.0",
9
+ "doc:transformed": true,
10
+ "doc:sourceSpec": "RAML 1.0"
11
+ },
12
+ {
13
+ "@id": "#2",
14
+ "@type": [
15
+ "apiContract:WebAPI",
16
+ "apiContract:API",
17
+ "doc:RootDomainElement",
18
+ "doc:DomainElement"
19
+ ],
20
+ "core:name": "Simple API",
21
+ "apiContract:endpoint": [
22
+ {
23
+ "@id": "#3"
24
+ }
25
+ ],
26
+ "sourcemaps:sources": [
27
+ {
28
+ "@id": "#2/source-map"
29
+ }
30
+ ]
31
+ },
32
+ {
33
+ "@id": "#3",
34
+ "@type": [
35
+ "apiContract:EndPoint",
36
+ "doc:DomainElement"
37
+ ],
38
+ "apiContract:path": "/people",
39
+ "apiContract:supportedOperation": [
40
+ {
41
+ "@id": "#4"
42
+ },
43
+ {
44
+ "@id": "#5"
45
+ },
46
+ {
47
+ "@id": "#6"
48
+ },
49
+ {
50
+ "@id": "#7"
51
+ }
52
+ ],
53
+ "sourcemaps:sources": [
54
+ {
55
+ "@id": "#3/source-map"
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "@id": "#2/source-map",
61
+ "@type": [
62
+ "sourcemaps:SourceMap"
63
+ ],
64
+ "sourcemaps:lexical": [
65
+ {
66
+ "@id": "#2/source-map/lexical/element_1"
67
+ },
68
+ {
69
+ "@id": "#2/source-map/lexical/element_0"
70
+ }
71
+ ]
72
+ },
73
+ {
74
+ "@id": "#4",
75
+ "@type": [
76
+ "apiContract:Operation",
77
+ "core:Operation",
78
+ "doc:DomainElement"
79
+ ],
80
+ "apiContract:method": "get",
81
+ "sourcemaps:sources": [
82
+ {
83
+ "@id": "#4/source-map"
84
+ }
85
+ ]
86
+ },
87
+ {
88
+ "@id": "#5",
89
+ "@type": [
90
+ "apiContract:Operation",
91
+ "core:Operation",
92
+ "doc:DomainElement"
93
+ ],
94
+ "apiContract:method": "post",
95
+ "sourcemaps:sources": [
96
+ {
97
+ "@id": "#5/source-map"
98
+ }
99
+ ]
100
+ },
101
+ {
102
+ "@id": "#6",
103
+ "@type": [
104
+ "apiContract:Operation",
105
+ "core:Operation",
106
+ "doc:DomainElement"
107
+ ],
108
+ "apiContract:method": "put",
109
+ "sourcemaps:sources": [
110
+ {
111
+ "@id": "#6/source-map"
112
+ }
113
+ ]
114
+ },
115
+ {
116
+ "@id": "#7",
117
+ "@type": [
118
+ "apiContract:Operation",
119
+ "core:Operation",
120
+ "doc:DomainElement"
121
+ ],
122
+ "apiContract:method": "patch",
123
+ "sourcemaps:sources": [
124
+ {
125
+ "@id": "#7/source-map"
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "@id": "#3/source-map",
131
+ "@type": [
132
+ "sourcemaps:SourceMap"
133
+ ],
134
+ "sourcemaps:lexical": [
135
+ {
136
+ "@id": "#3/source-map/lexical/element_1"
137
+ },
138
+ {
139
+ "@id": "#3/source-map/lexical/element_0"
140
+ }
141
+ ]
142
+ },
143
+ {
144
+ "@id": "#2/source-map/lexical/element_1",
145
+ "sourcemaps:element": "amf://id#2",
146
+ "sourcemaps:value": "[(2,0)-(9,0)]"
147
+ },
148
+ {
149
+ "@id": "#2/source-map/lexical/element_0",
150
+ "sourcemaps:element": "core:name",
151
+ "sourcemaps:value": "[(2,0)-(4,0)]"
152
+ },
153
+ {
154
+ "@id": "#4/source-map",
155
+ "@type": [
156
+ "sourcemaps:SourceMap"
157
+ ],
158
+ "sourcemaps:lexical": [
159
+ {
160
+ "@id": "#4/source-map/lexical/element_0"
161
+ }
162
+ ]
163
+ },
164
+ {
165
+ "@id": "#5/source-map",
166
+ "@type": [
167
+ "sourcemaps:SourceMap"
168
+ ],
169
+ "sourcemaps:lexical": [
170
+ {
171
+ "@id": "#5/source-map/lexical/element_0"
172
+ }
173
+ ]
174
+ },
175
+ {
176
+ "@id": "#6/source-map",
177
+ "@type": [
178
+ "sourcemaps:SourceMap"
179
+ ],
180
+ "sourcemaps:lexical": [
181
+ {
182
+ "@id": "#6/source-map/lexical/element_0"
183
+ }
184
+ ]
185
+ },
186
+ {
187
+ "@id": "#7/source-map",
188
+ "@type": [
189
+ "sourcemaps:SourceMap"
190
+ ],
191
+ "sourcemaps:lexical": [
192
+ {
193
+ "@id": "#7/source-map/lexical/element_0"
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "@id": "#3/source-map/lexical/element_1",
199
+ "sourcemaps:element": "amf://id#3",
200
+ "sourcemaps:value": "[(4,0)-(9,0)]"
201
+ },
202
+ {
203
+ "@id": "#3/source-map/lexical/element_0",
204
+ "sourcemaps:element": "apiContract:path",
205
+ "sourcemaps:value": "[(4,0)-(4,7)]"
206
+ },
207
+ {
208
+ "@id": "#4/source-map/lexical/element_0",
209
+ "sourcemaps:element": "amf://id#4",
210
+ "sourcemaps:value": "[(5,2)-(6,0)]"
211
+ },
212
+ {
213
+ "@id": "#5/source-map/lexical/element_0",
214
+ "sourcemaps:element": "amf://id#5",
215
+ "sourcemaps:value": "[(6,2)-(7,0)]"
216
+ },
217
+ {
218
+ "@id": "#6/source-map/lexical/element_0",
219
+ "sourcemaps:element": "amf://id#6",
220
+ "sourcemaps:value": "[(7,2)-(8,0)]"
221
+ },
222
+ {
223
+ "@id": "#7/source-map/lexical/element_0",
224
+ "sourcemaps:element": "amf://id#7",
225
+ "sourcemaps:value": "[(8,2)-(9,0)]"
226
+ },
227
+ {
228
+ "@id": "",
229
+ "@type": [
230
+ "doc:Document",
231
+ "doc:Fragment",
232
+ "doc:Module",
233
+ "doc:Unit"
234
+ ],
235
+ "doc:encodes": {
236
+ "@id": "#2"
237
+ },
238
+ "doc:root": true,
239
+ "doc:processingData": {
240
+ "@id": "#1"
241
+ }
242
+ }
243
+ ],
244
+ "@context": {
245
+ "@base": "amf://id",
246
+ "doc": "http://a.ml/vocabularies/document#",
247
+ "apiContract": "http://a.ml/vocabularies/apiContract#",
248
+ "core": "http://a.ml/vocabularies/core#",
249
+ "sourcemaps": "http://a.ml/vocabularies/document-source-maps#"
250
+ }
251
+ }