@asyncapi/cli 1.2.35 → 1.3.1
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.
- package/assets/create-glee-app/templates/default/package-lock.json +70 -622
- package/assets/create-glee-app/templates/default/package.json +1 -1
- package/lib/commands/generate/models.d.ts +6 -0
- package/lib/commands/generate/models.js +37 -2
- package/oclif.manifest.json +22 -1
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"version": "0.1.0",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@asyncapi/glee": "^0.
|
|
12
|
+
"@asyncapi/glee": "^0.35.0"
|
|
13
13
|
},
|
|
14
14
|
"devDependencies": {
|
|
15
15
|
"@types/node": "^20.5.9"
|
|
@@ -32,126 +32,15 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"node_modules/@asyncapi/avro-schema-parser": {
|
|
35
|
-
"version": "3.0.
|
|
36
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.
|
|
37
|
-
"integrity": "sha512-
|
|
35
|
+
"version": "3.0.9",
|
|
36
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.9.tgz",
|
|
37
|
+
"integrity": "sha512-t6B6W8QXiM0fWhj8sNnGoFkFjrNqWjLGeKiKpQFKVEghVLz5vLmARs7kMWWKGbjxQSas3e4ChcmMi1B2IplrBQ==",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@asyncapi/parser": "^
|
|
39
|
+
"@asyncapi/parser": "^3.0.2",
|
|
40
40
|
"@types/json-schema": "^7.0.11",
|
|
41
41
|
"avsc": "^5.7.6"
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
"node_modules/@asyncapi/avro-schema-parser/node_modules/@asyncapi/parser": {
|
|
45
|
-
"version": "2.1.2",
|
|
46
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.2.tgz",
|
|
47
|
-
"integrity": "sha512-2pHKnr2P8EujcrvZo4x4zNwsEIAg5vb1ZEhl2+OH0YBg8EYH/Xx73XZ+bbwLaYIg1gvFjm29jNB9UL3CMeDU5w==",
|
|
48
|
-
"dependencies": {
|
|
49
|
-
"@asyncapi/specs": "^5.1.0",
|
|
50
|
-
"@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0",
|
|
51
|
-
"@stoplight/json": "^3.20.2",
|
|
52
|
-
"@stoplight/json-ref-readers": "^1.2.2",
|
|
53
|
-
"@stoplight/json-ref-resolver": "^3.1.5",
|
|
54
|
-
"@stoplight/spectral-core": "^1.16.1",
|
|
55
|
-
"@stoplight/spectral-functions": "^1.7.2",
|
|
56
|
-
"@stoplight/spectral-parsers": "^1.0.2",
|
|
57
|
-
"@stoplight/spectral-ref-resolver": "^1.0.3",
|
|
58
|
-
"@stoplight/types": "^13.12.0",
|
|
59
|
-
"@types/json-schema": "^7.0.11",
|
|
60
|
-
"@types/urijs": "^1.19.19",
|
|
61
|
-
"ajv": "^8.11.0",
|
|
62
|
-
"ajv-errors": "^3.0.0",
|
|
63
|
-
"ajv-formats": "^2.1.1",
|
|
64
|
-
"avsc": "^5.7.5",
|
|
65
|
-
"js-yaml": "^4.1.0",
|
|
66
|
-
"jsonpath-plus": "^7.2.0",
|
|
67
|
-
"node-fetch": "2.6.7"
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
"node_modules/@asyncapi/avro-schema-parser/node_modules/@asyncapi/specs": {
|
|
71
|
-
"version": "5.1.0",
|
|
72
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz",
|
|
73
|
-
"integrity": "sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==",
|
|
74
|
-
"dependencies": {
|
|
75
|
-
"@types/json-schema": "^7.0.11"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"node_modules/@asyncapi/avro-schema-parser/node_modules/ajv": {
|
|
79
|
-
"version": "8.12.0",
|
|
80
|
-
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz",
|
|
81
|
-
"integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==",
|
|
82
|
-
"dependencies": {
|
|
83
|
-
"fast-deep-equal": "^3.1.1",
|
|
84
|
-
"json-schema-traverse": "^1.0.0",
|
|
85
|
-
"require-from-string": "^2.0.2",
|
|
86
|
-
"uri-js": "^4.2.2"
|
|
87
|
-
},
|
|
88
|
-
"funding": {
|
|
89
|
-
"type": "github",
|
|
90
|
-
"url": "https://github.com/sponsors/epoberezkin"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
"node_modules/@asyncapi/avro-schema-parser/node_modules/ajv-errors": {
|
|
94
|
-
"version": "3.0.0",
|
|
95
|
-
"resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz",
|
|
96
|
-
"integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==",
|
|
97
|
-
"peerDependencies": {
|
|
98
|
-
"ajv": "^8.0.1"
|
|
99
|
-
}
|
|
100
|
-
},
|
|
101
|
-
"node_modules/@asyncapi/avro-schema-parser/node_modules/js-yaml": {
|
|
102
|
-
"version": "4.1.0",
|
|
103
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
|
|
104
|
-
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
|
|
105
|
-
"dependencies": {
|
|
106
|
-
"argparse": "^2.0.1"
|
|
107
|
-
},
|
|
108
|
-
"bin": {
|
|
109
|
-
"js-yaml": "bin/js-yaml.js"
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
"node_modules/@asyncapi/avro-schema-parser/node_modules/json-schema-traverse": {
|
|
113
|
-
"version": "1.0.0",
|
|
114
|
-
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
|
|
115
|
-
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
|
|
116
|
-
},
|
|
117
|
-
"node_modules/@asyncapi/avro-schema-parser/node_modules/node-fetch": {
|
|
118
|
-
"version": "2.6.7",
|
|
119
|
-
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
|
|
120
|
-
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
|
|
121
|
-
"dependencies": {
|
|
122
|
-
"whatwg-url": "^5.0.0"
|
|
123
|
-
},
|
|
124
|
-
"engines": {
|
|
125
|
-
"node": "4.x || >=6.0.0"
|
|
126
|
-
},
|
|
127
|
-
"peerDependencies": {
|
|
128
|
-
"encoding": "^0.1.0"
|
|
129
|
-
},
|
|
130
|
-
"peerDependenciesMeta": {
|
|
131
|
-
"encoding": {
|
|
132
|
-
"optional": true
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
"node_modules/@asyncapi/avro-schema-parser/node_modules/tr46": {
|
|
137
|
-
"version": "0.0.3",
|
|
138
|
-
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
|
139
|
-
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
|
140
|
-
},
|
|
141
|
-
"node_modules/@asyncapi/avro-schema-parser/node_modules/webidl-conversions": {
|
|
142
|
-
"version": "3.0.1",
|
|
143
|
-
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
|
144
|
-
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
|
|
145
|
-
},
|
|
146
|
-
"node_modules/@asyncapi/avro-schema-parser/node_modules/whatwg-url": {
|
|
147
|
-
"version": "5.0.0",
|
|
148
|
-
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
|
149
|
-
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
|
150
|
-
"dependencies": {
|
|
151
|
-
"tr46": "~0.0.3",
|
|
152
|
-
"webidl-conversions": "^3.0.0"
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
44
|
"node_modules/@asyncapi/generator": {
|
|
156
45
|
"version": "1.16.0",
|
|
157
46
|
"resolved": "https://registry.npmjs.org/@asyncapi/generator/-/generator-1.16.0.tgz",
|
|
@@ -280,14 +169,15 @@
|
|
|
280
169
|
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
|
|
281
170
|
},
|
|
282
171
|
"node_modules/@asyncapi/glee": {
|
|
283
|
-
"version": "0.
|
|
284
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.
|
|
285
|
-
"integrity": "sha512-
|
|
172
|
+
"version": "0.35.0",
|
|
173
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.35.0.tgz",
|
|
174
|
+
"integrity": "sha512-ttAK7VYv1IYPiJ8/8rKo+HO6iZZB2aCy6L5ElpEYacAQ57uNZp9xPnNW/+jrHQ4WIuXp6mssQodHJsp9yW8WoA==",
|
|
286
175
|
"dependencies": {
|
|
287
176
|
"@asyncapi/generator": "^1.16.0",
|
|
288
|
-
"@asyncapi/html-template": "^2.
|
|
177
|
+
"@asyncapi/html-template": "^2.1.0",
|
|
289
178
|
"@asyncapi/markdown-template": "^1.5.0",
|
|
290
179
|
"@asyncapi/parser": "^3.0.2",
|
|
180
|
+
"@next/env": "^14.0.4",
|
|
291
181
|
"@types/jest": "^29.5.11",
|
|
292
182
|
"@types/qs": "^6.9.7",
|
|
293
183
|
"ajv": "^6.12.6",
|
|
@@ -326,13 +216,13 @@
|
|
|
326
216
|
}
|
|
327
217
|
},
|
|
328
218
|
"node_modules/@asyncapi/html-template": {
|
|
329
|
-
"version": "2.
|
|
330
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/html-template/-/html-template-2.
|
|
331
|
-
"integrity": "sha512-
|
|
219
|
+
"version": "2.1.0",
|
|
220
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/html-template/-/html-template-2.1.0.tgz",
|
|
221
|
+
"integrity": "sha512-R5uSALejmrdTzPlBeGJqTqWOWZRRM25uXSTDWbNhdTxE9uRdhXw1JOcalvfoF9KIoMhVP0rd54alZT8ejApmHA==",
|
|
332
222
|
"dependencies": {
|
|
333
223
|
"@asyncapi/generator-react-sdk": "^1.0.0",
|
|
334
|
-
"@asyncapi/parser": "^3.0.
|
|
335
|
-
"@asyncapi/react-component": "^1.
|
|
224
|
+
"@asyncapi/parser": "^3.0.2",
|
|
225
|
+
"@asyncapi/react-component": "^1.2.12",
|
|
336
226
|
"highlight.js": "10.7.3",
|
|
337
227
|
"puppeteer": "^14.1.0",
|
|
338
228
|
"react-dom": "^17.0.2",
|
|
@@ -351,51 +241,17 @@
|
|
|
351
241
|
}
|
|
352
242
|
},
|
|
353
243
|
"node_modules/@asyncapi/openapi-schema-parser": {
|
|
354
|
-
"version": "3.0.
|
|
355
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.
|
|
356
|
-
"integrity": "sha512-
|
|
244
|
+
"version": "3.0.10",
|
|
245
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.10.tgz",
|
|
246
|
+
"integrity": "sha512-kaLeYLicn65iLCKnjrmOYEybjFgxrKBOc2ZjwloCMRahyWX3hQHPU9IqL54JxEQ2R9AGznROPhrKz4iczRfKZw==",
|
|
357
247
|
"dependencies": {
|
|
358
|
-
"@asyncapi/parser": "^
|
|
248
|
+
"@asyncapi/parser": "^3.0.2",
|
|
359
249
|
"@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0",
|
|
360
250
|
"ajv": "^8.11.0",
|
|
361
251
|
"ajv-errors": "^3.0.0",
|
|
362
252
|
"ajv-formats": "^2.1.1"
|
|
363
253
|
}
|
|
364
254
|
},
|
|
365
|
-
"node_modules/@asyncapi/openapi-schema-parser/node_modules/@asyncapi/parser": {
|
|
366
|
-
"version": "2.1.2",
|
|
367
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.2.tgz",
|
|
368
|
-
"integrity": "sha512-2pHKnr2P8EujcrvZo4x4zNwsEIAg5vb1ZEhl2+OH0YBg8EYH/Xx73XZ+bbwLaYIg1gvFjm29jNB9UL3CMeDU5w==",
|
|
369
|
-
"dependencies": {
|
|
370
|
-
"@asyncapi/specs": "^5.1.0",
|
|
371
|
-
"@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0",
|
|
372
|
-
"@stoplight/json": "^3.20.2",
|
|
373
|
-
"@stoplight/json-ref-readers": "^1.2.2",
|
|
374
|
-
"@stoplight/json-ref-resolver": "^3.1.5",
|
|
375
|
-
"@stoplight/spectral-core": "^1.16.1",
|
|
376
|
-
"@stoplight/spectral-functions": "^1.7.2",
|
|
377
|
-
"@stoplight/spectral-parsers": "^1.0.2",
|
|
378
|
-
"@stoplight/spectral-ref-resolver": "^1.0.3",
|
|
379
|
-
"@stoplight/types": "^13.12.0",
|
|
380
|
-
"@types/json-schema": "^7.0.11",
|
|
381
|
-
"@types/urijs": "^1.19.19",
|
|
382
|
-
"ajv": "^8.11.0",
|
|
383
|
-
"ajv-errors": "^3.0.0",
|
|
384
|
-
"ajv-formats": "^2.1.1",
|
|
385
|
-
"avsc": "^5.7.5",
|
|
386
|
-
"js-yaml": "^4.1.0",
|
|
387
|
-
"jsonpath-plus": "^7.2.0",
|
|
388
|
-
"node-fetch": "2.6.7"
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
"node_modules/@asyncapi/openapi-schema-parser/node_modules/@asyncapi/specs": {
|
|
392
|
-
"version": "5.1.0",
|
|
393
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz",
|
|
394
|
-
"integrity": "sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==",
|
|
395
|
-
"dependencies": {
|
|
396
|
-
"@types/json-schema": "^7.0.11"
|
|
397
|
-
}
|
|
398
|
-
},
|
|
399
255
|
"node_modules/@asyncapi/openapi-schema-parser/node_modules/ajv": {
|
|
400
256
|
"version": "8.12.0",
|
|
401
257
|
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz",
|
|
@@ -419,60 +275,11 @@
|
|
|
419
275
|
"ajv": "^8.0.1"
|
|
420
276
|
}
|
|
421
277
|
},
|
|
422
|
-
"node_modules/@asyncapi/openapi-schema-parser/node_modules/js-yaml": {
|
|
423
|
-
"version": "4.1.0",
|
|
424
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
|
|
425
|
-
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
|
|
426
|
-
"dependencies": {
|
|
427
|
-
"argparse": "^2.0.1"
|
|
428
|
-
},
|
|
429
|
-
"bin": {
|
|
430
|
-
"js-yaml": "bin/js-yaml.js"
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
278
|
"node_modules/@asyncapi/openapi-schema-parser/node_modules/json-schema-traverse": {
|
|
434
279
|
"version": "1.0.0",
|
|
435
280
|
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
|
|
436
281
|
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
|
|
437
282
|
},
|
|
438
|
-
"node_modules/@asyncapi/openapi-schema-parser/node_modules/node-fetch": {
|
|
439
|
-
"version": "2.6.7",
|
|
440
|
-
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
|
|
441
|
-
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
|
|
442
|
-
"dependencies": {
|
|
443
|
-
"whatwg-url": "^5.0.0"
|
|
444
|
-
},
|
|
445
|
-
"engines": {
|
|
446
|
-
"node": "4.x || >=6.0.0"
|
|
447
|
-
},
|
|
448
|
-
"peerDependencies": {
|
|
449
|
-
"encoding": "^0.1.0"
|
|
450
|
-
},
|
|
451
|
-
"peerDependenciesMeta": {
|
|
452
|
-
"encoding": {
|
|
453
|
-
"optional": true
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
},
|
|
457
|
-
"node_modules/@asyncapi/openapi-schema-parser/node_modules/tr46": {
|
|
458
|
-
"version": "0.0.3",
|
|
459
|
-
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
|
460
|
-
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
|
461
|
-
},
|
|
462
|
-
"node_modules/@asyncapi/openapi-schema-parser/node_modules/webidl-conversions": {
|
|
463
|
-
"version": "3.0.1",
|
|
464
|
-
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
|
465
|
-
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
|
|
466
|
-
},
|
|
467
|
-
"node_modules/@asyncapi/openapi-schema-parser/node_modules/whatwg-url": {
|
|
468
|
-
"version": "5.0.0",
|
|
469
|
-
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
|
470
|
-
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
|
471
|
-
"dependencies": {
|
|
472
|
-
"tr46": "~0.0.3",
|
|
473
|
-
"webidl-conversions": "^3.0.0"
|
|
474
|
-
}
|
|
475
|
-
},
|
|
476
283
|
"node_modules/@asyncapi/parser": {
|
|
477
284
|
"version": "3.0.2",
|
|
478
285
|
"resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-3.0.2.tgz",
|
|
@@ -577,128 +384,15 @@
|
|
|
577
384
|
}
|
|
578
385
|
},
|
|
579
386
|
"node_modules/@asyncapi/protobuf-schema-parser": {
|
|
580
|
-
"version": "3.0.
|
|
581
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/protobuf-schema-parser/-/protobuf-schema-parser-3.0.
|
|
582
|
-
"integrity": "sha512-
|
|
387
|
+
"version": "3.0.6",
|
|
388
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/protobuf-schema-parser/-/protobuf-schema-parser-3.0.6.tgz",
|
|
389
|
+
"integrity": "sha512-XdjGyj4Sp7Hu2xy1gXaEm5ed5TcB9iQy9j2im3Hcqg8pwk1DTQqWF8zvfcDAKPGn22rBRSfzyrmecLOZtbuOPQ==",
|
|
583
390
|
"dependencies": {
|
|
584
|
-
"@asyncapi/parser": "^
|
|
391
|
+
"@asyncapi/parser": "^3.0.2",
|
|
585
392
|
"@types/protocol-buffers-schema": "^3.4.1",
|
|
586
393
|
"protocol-buffers-schema": "^3.6.0"
|
|
587
394
|
}
|
|
588
395
|
},
|
|
589
|
-
"node_modules/@asyncapi/protobuf-schema-parser/node_modules/@asyncapi/parser": {
|
|
590
|
-
"version": "2.1.1",
|
|
591
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.1.tgz",
|
|
592
|
-
"integrity": "sha512-FnJ5Du9iMu9MEb5mF90gF7z1ZkdnazisBsm3GHVFr7VaiF8luAoB+bklGYFwoMb+9QWKWr1099orY5VyXULAcQ==",
|
|
593
|
-
"dependencies": {
|
|
594
|
-
"@asyncapi/specs": "^5.1.0",
|
|
595
|
-
"@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0",
|
|
596
|
-
"@stoplight/json": "^3.20.2",
|
|
597
|
-
"@stoplight/json-ref-readers": "^1.2.2",
|
|
598
|
-
"@stoplight/json-ref-resolver": "^3.1.5",
|
|
599
|
-
"@stoplight/spectral-core": "^1.16.1",
|
|
600
|
-
"@stoplight/spectral-functions": "^1.7.2",
|
|
601
|
-
"@stoplight/spectral-parsers": "^1.0.2",
|
|
602
|
-
"@stoplight/spectral-ref-resolver": "^1.0.3",
|
|
603
|
-
"@stoplight/types": "^13.12.0",
|
|
604
|
-
"@types/json-schema": "^7.0.11",
|
|
605
|
-
"@types/urijs": "^1.19.19",
|
|
606
|
-
"ajv": "^8.11.0",
|
|
607
|
-
"ajv-errors": "^3.0.0",
|
|
608
|
-
"ajv-formats": "^2.1.1",
|
|
609
|
-
"avsc": "^5.7.5",
|
|
610
|
-
"js-yaml": "^4.1.0",
|
|
611
|
-
"jsonpath-plus": "^7.2.0",
|
|
612
|
-
"node-fetch": "2.6.7",
|
|
613
|
-
"ramldt2jsonschema": "^1.2.3",
|
|
614
|
-
"webapi-parser": "^0.5.0"
|
|
615
|
-
}
|
|
616
|
-
},
|
|
617
|
-
"node_modules/@asyncapi/protobuf-schema-parser/node_modules/@asyncapi/specs": {
|
|
618
|
-
"version": "5.1.0",
|
|
619
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz",
|
|
620
|
-
"integrity": "sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==",
|
|
621
|
-
"dependencies": {
|
|
622
|
-
"@types/json-schema": "^7.0.11"
|
|
623
|
-
}
|
|
624
|
-
},
|
|
625
|
-
"node_modules/@asyncapi/protobuf-schema-parser/node_modules/ajv": {
|
|
626
|
-
"version": "8.12.0",
|
|
627
|
-
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz",
|
|
628
|
-
"integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==",
|
|
629
|
-
"dependencies": {
|
|
630
|
-
"fast-deep-equal": "^3.1.1",
|
|
631
|
-
"json-schema-traverse": "^1.0.0",
|
|
632
|
-
"require-from-string": "^2.0.2",
|
|
633
|
-
"uri-js": "^4.2.2"
|
|
634
|
-
},
|
|
635
|
-
"funding": {
|
|
636
|
-
"type": "github",
|
|
637
|
-
"url": "https://github.com/sponsors/epoberezkin"
|
|
638
|
-
}
|
|
639
|
-
},
|
|
640
|
-
"node_modules/@asyncapi/protobuf-schema-parser/node_modules/ajv-errors": {
|
|
641
|
-
"version": "3.0.0",
|
|
642
|
-
"resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz",
|
|
643
|
-
"integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==",
|
|
644
|
-
"peerDependencies": {
|
|
645
|
-
"ajv": "^8.0.1"
|
|
646
|
-
}
|
|
647
|
-
},
|
|
648
|
-
"node_modules/@asyncapi/protobuf-schema-parser/node_modules/js-yaml": {
|
|
649
|
-
"version": "4.1.0",
|
|
650
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
|
|
651
|
-
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
|
|
652
|
-
"dependencies": {
|
|
653
|
-
"argparse": "^2.0.1"
|
|
654
|
-
},
|
|
655
|
-
"bin": {
|
|
656
|
-
"js-yaml": "bin/js-yaml.js"
|
|
657
|
-
}
|
|
658
|
-
},
|
|
659
|
-
"node_modules/@asyncapi/protobuf-schema-parser/node_modules/json-schema-traverse": {
|
|
660
|
-
"version": "1.0.0",
|
|
661
|
-
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
|
|
662
|
-
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
|
|
663
|
-
},
|
|
664
|
-
"node_modules/@asyncapi/protobuf-schema-parser/node_modules/node-fetch": {
|
|
665
|
-
"version": "2.6.7",
|
|
666
|
-
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
|
|
667
|
-
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
|
|
668
|
-
"dependencies": {
|
|
669
|
-
"whatwg-url": "^5.0.0"
|
|
670
|
-
},
|
|
671
|
-
"engines": {
|
|
672
|
-
"node": "4.x || >=6.0.0"
|
|
673
|
-
},
|
|
674
|
-
"peerDependencies": {
|
|
675
|
-
"encoding": "^0.1.0"
|
|
676
|
-
},
|
|
677
|
-
"peerDependenciesMeta": {
|
|
678
|
-
"encoding": {
|
|
679
|
-
"optional": true
|
|
680
|
-
}
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
"node_modules/@asyncapi/protobuf-schema-parser/node_modules/tr46": {
|
|
684
|
-
"version": "0.0.3",
|
|
685
|
-
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
|
686
|
-
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
|
687
|
-
},
|
|
688
|
-
"node_modules/@asyncapi/protobuf-schema-parser/node_modules/webidl-conversions": {
|
|
689
|
-
"version": "3.0.1",
|
|
690
|
-
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
|
691
|
-
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
|
|
692
|
-
},
|
|
693
|
-
"node_modules/@asyncapi/protobuf-schema-parser/node_modules/whatwg-url": {
|
|
694
|
-
"version": "5.0.0",
|
|
695
|
-
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
|
696
|
-
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
|
697
|
-
"dependencies": {
|
|
698
|
-
"tr46": "~0.0.3",
|
|
699
|
-
"webidl-conversions": "^3.0.0"
|
|
700
|
-
}
|
|
701
|
-
},
|
|
702
396
|
"node_modules/@asyncapi/raml-dt-schema-parser": {
|
|
703
397
|
"version": "4.0.10",
|
|
704
398
|
"resolved": "https://registry.npmjs.org/@asyncapi/raml-dt-schema-parser/-/raml-dt-schema-parser-4.0.10.tgz",
|
|
@@ -722,14 +416,14 @@
|
|
|
722
416
|
}
|
|
723
417
|
},
|
|
724
418
|
"node_modules/@asyncapi/react-component": {
|
|
725
|
-
"version": "1.2.
|
|
726
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/react-component/-/react-component-1.2.
|
|
727
|
-
"integrity": "sha512
|
|
419
|
+
"version": "1.2.13",
|
|
420
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/react-component/-/react-component-1.2.13.tgz",
|
|
421
|
+
"integrity": "sha512-PMDHVk0nG7fFgRn/OA2WabfY4x6xCpbPVTLbu5ySLGpL5VABvrK5rIl6wfHk+yZwyuMRNfSbURLkU2L+3Ho8Zw==",
|
|
728
422
|
"dependencies": {
|
|
729
|
-
"@asyncapi/avro-schema-parser": "^3.0.
|
|
730
|
-
"@asyncapi/openapi-schema-parser": "^3.0.
|
|
731
|
-
"@asyncapi/parser": "^3.0.
|
|
732
|
-
"@asyncapi/protobuf-schema-parser": "3.0.
|
|
423
|
+
"@asyncapi/avro-schema-parser": "^3.0.9",
|
|
424
|
+
"@asyncapi/openapi-schema-parser": "^3.0.10",
|
|
425
|
+
"@asyncapi/parser": "^3.0.2",
|
|
426
|
+
"@asyncapi/protobuf-schema-parser": "^3.0.6",
|
|
733
427
|
"highlight.js": "^10.7.2",
|
|
734
428
|
"isomorphic-dompurify": "^0.13.0",
|
|
735
429
|
"marked": "^4.0.14",
|
|
@@ -3106,6 +2800,11 @@
|
|
|
3106
2800
|
"resolved": "https://registry.npmjs.org/@kwsites/promise-deferred/-/promise-deferred-1.1.1.tgz",
|
|
3107
2801
|
"integrity": "sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw=="
|
|
3108
2802
|
},
|
|
2803
|
+
"node_modules/@next/env": {
|
|
2804
|
+
"version": "14.0.4",
|
|
2805
|
+
"resolved": "https://registry.npmjs.org/@next/env/-/env-14.0.4.tgz",
|
|
2806
|
+
"integrity": "sha512-irQnbMLbUNQpP1wcE5NstJtbuA/69kRfzBrpAD7Gsn8zm/CY6YQYc3HQBz8QPxwISG26tIm5afvvVbu508oBeQ=="
|
|
2807
|
+
},
|
|
3109
2808
|
"node_modules/@node-redis/bloom": {
|
|
3110
2809
|
"version": "1.0.1",
|
|
3111
2810
|
"resolved": "https://registry.npmjs.org/@node-redis/bloom/-/bloom-1.0.1.tgz",
|
|
@@ -9927,7 +9626,7 @@
|
|
|
9927
9626
|
"version": "14.4.1",
|
|
9928
9627
|
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-14.4.1.tgz",
|
|
9929
9628
|
"integrity": "sha512-+H0Gm84aXUvSLdSiDROtLlOofftClgw2TdceMvvCU9UvMryappoeS3+eOLfKvoy4sm8B8MWnYmPhWxVFudAOFQ==",
|
|
9930
|
-
"deprecated": "<
|
|
9629
|
+
"deprecated": "< 21.3.7 is no longer supported",
|
|
9931
9630
|
"hasInstallScript": true,
|
|
9932
9631
|
"dependencies": {
|
|
9933
9632
|
"cross-fetch": "3.1.5",
|
|
@@ -12451,106 +12150,13 @@
|
|
|
12451
12150
|
}
|
|
12452
12151
|
},
|
|
12453
12152
|
"@asyncapi/avro-schema-parser": {
|
|
12454
|
-
"version": "3.0.
|
|
12455
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.
|
|
12456
|
-
"integrity": "sha512-
|
|
12153
|
+
"version": "3.0.9",
|
|
12154
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/avro-schema-parser/-/avro-schema-parser-3.0.9.tgz",
|
|
12155
|
+
"integrity": "sha512-t6B6W8QXiM0fWhj8sNnGoFkFjrNqWjLGeKiKpQFKVEghVLz5vLmARs7kMWWKGbjxQSas3e4ChcmMi1B2IplrBQ==",
|
|
12457
12156
|
"requires": {
|
|
12458
|
-
"@asyncapi/parser": "^
|
|
12157
|
+
"@asyncapi/parser": "^3.0.2",
|
|
12459
12158
|
"@types/json-schema": "^7.0.11",
|
|
12460
12159
|
"avsc": "^5.7.6"
|
|
12461
|
-
},
|
|
12462
|
-
"dependencies": {
|
|
12463
|
-
"@asyncapi/parser": {
|
|
12464
|
-
"version": "2.1.2",
|
|
12465
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.2.tgz",
|
|
12466
|
-
"integrity": "sha512-2pHKnr2P8EujcrvZo4x4zNwsEIAg5vb1ZEhl2+OH0YBg8EYH/Xx73XZ+bbwLaYIg1gvFjm29jNB9UL3CMeDU5w==",
|
|
12467
|
-
"requires": {
|
|
12468
|
-
"@asyncapi/specs": "^5.1.0",
|
|
12469
|
-
"@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0",
|
|
12470
|
-
"@stoplight/json": "^3.20.2",
|
|
12471
|
-
"@stoplight/json-ref-readers": "^1.2.2",
|
|
12472
|
-
"@stoplight/json-ref-resolver": "^3.1.5",
|
|
12473
|
-
"@stoplight/spectral-core": "^1.16.1",
|
|
12474
|
-
"@stoplight/spectral-functions": "^1.7.2",
|
|
12475
|
-
"@stoplight/spectral-parsers": "^1.0.2",
|
|
12476
|
-
"@stoplight/spectral-ref-resolver": "^1.0.3",
|
|
12477
|
-
"@stoplight/types": "^13.12.0",
|
|
12478
|
-
"@types/json-schema": "^7.0.11",
|
|
12479
|
-
"@types/urijs": "^1.19.19",
|
|
12480
|
-
"ajv": "^8.11.0",
|
|
12481
|
-
"ajv-errors": "^3.0.0",
|
|
12482
|
-
"ajv-formats": "^2.1.1",
|
|
12483
|
-
"avsc": "^5.7.5",
|
|
12484
|
-
"js-yaml": "^4.1.0",
|
|
12485
|
-
"jsonpath-plus": "^7.2.0",
|
|
12486
|
-
"node-fetch": "2.6.7"
|
|
12487
|
-
}
|
|
12488
|
-
},
|
|
12489
|
-
"@asyncapi/specs": {
|
|
12490
|
-
"version": "5.1.0",
|
|
12491
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz",
|
|
12492
|
-
"integrity": "sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==",
|
|
12493
|
-
"requires": {
|
|
12494
|
-
"@types/json-schema": "^7.0.11"
|
|
12495
|
-
}
|
|
12496
|
-
},
|
|
12497
|
-
"ajv": {
|
|
12498
|
-
"version": "8.12.0",
|
|
12499
|
-
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz",
|
|
12500
|
-
"integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==",
|
|
12501
|
-
"requires": {
|
|
12502
|
-
"fast-deep-equal": "^3.1.1",
|
|
12503
|
-
"json-schema-traverse": "^1.0.0",
|
|
12504
|
-
"require-from-string": "^2.0.2",
|
|
12505
|
-
"uri-js": "^4.2.2"
|
|
12506
|
-
}
|
|
12507
|
-
},
|
|
12508
|
-
"ajv-errors": {
|
|
12509
|
-
"version": "3.0.0",
|
|
12510
|
-
"resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz",
|
|
12511
|
-
"integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==",
|
|
12512
|
-
"requires": {}
|
|
12513
|
-
},
|
|
12514
|
-
"js-yaml": {
|
|
12515
|
-
"version": "4.1.0",
|
|
12516
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
|
|
12517
|
-
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
|
|
12518
|
-
"requires": {
|
|
12519
|
-
"argparse": "^2.0.1"
|
|
12520
|
-
}
|
|
12521
|
-
},
|
|
12522
|
-
"json-schema-traverse": {
|
|
12523
|
-
"version": "1.0.0",
|
|
12524
|
-
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
|
|
12525
|
-
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
|
|
12526
|
-
},
|
|
12527
|
-
"node-fetch": {
|
|
12528
|
-
"version": "2.6.7",
|
|
12529
|
-
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
|
|
12530
|
-
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
|
|
12531
|
-
"requires": {
|
|
12532
|
-
"whatwg-url": "^5.0.0"
|
|
12533
|
-
}
|
|
12534
|
-
},
|
|
12535
|
-
"tr46": {
|
|
12536
|
-
"version": "0.0.3",
|
|
12537
|
-
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
|
12538
|
-
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
|
12539
|
-
},
|
|
12540
|
-
"webidl-conversions": {
|
|
12541
|
-
"version": "3.0.1",
|
|
12542
|
-
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
|
12543
|
-
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
|
|
12544
|
-
},
|
|
12545
|
-
"whatwg-url": {
|
|
12546
|
-
"version": "5.0.0",
|
|
12547
|
-
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
|
12548
|
-
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
|
12549
|
-
"requires": {
|
|
12550
|
-
"tr46": "~0.0.3",
|
|
12551
|
-
"webidl-conversions": "^3.0.0"
|
|
12552
|
-
}
|
|
12553
|
-
}
|
|
12554
12160
|
}
|
|
12555
12161
|
},
|
|
12556
12162
|
"@asyncapi/generator": {
|
|
@@ -12660,14 +12266,15 @@
|
|
|
12660
12266
|
}
|
|
12661
12267
|
},
|
|
12662
12268
|
"@asyncapi/glee": {
|
|
12663
|
-
"version": "0.
|
|
12664
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.
|
|
12665
|
-
"integrity": "sha512-
|
|
12269
|
+
"version": "0.35.0",
|
|
12270
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/glee/-/glee-0.35.0.tgz",
|
|
12271
|
+
"integrity": "sha512-ttAK7VYv1IYPiJ8/8rKo+HO6iZZB2aCy6L5ElpEYacAQ57uNZp9xPnNW/+jrHQ4WIuXp6mssQodHJsp9yW8WoA==",
|
|
12666
12272
|
"requires": {
|
|
12667
12273
|
"@asyncapi/generator": "^1.16.0",
|
|
12668
|
-
"@asyncapi/html-template": "^2.
|
|
12274
|
+
"@asyncapi/html-template": "^2.1.0",
|
|
12669
12275
|
"@asyncapi/markdown-template": "^1.5.0",
|
|
12670
12276
|
"@asyncapi/parser": "^3.0.2",
|
|
12277
|
+
"@next/env": "^14.0.4",
|
|
12671
12278
|
"@types/jest": "^29.5.11",
|
|
12672
12279
|
"@types/qs": "^6.9.7",
|
|
12673
12280
|
"ajv": "^6.12.6",
|
|
@@ -12700,13 +12307,13 @@
|
|
|
12700
12307
|
}
|
|
12701
12308
|
},
|
|
12702
12309
|
"@asyncapi/html-template": {
|
|
12703
|
-
"version": "2.
|
|
12704
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/html-template/-/html-template-2.
|
|
12705
|
-
"integrity": "sha512-
|
|
12310
|
+
"version": "2.1.0",
|
|
12311
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/html-template/-/html-template-2.1.0.tgz",
|
|
12312
|
+
"integrity": "sha512-R5uSALejmrdTzPlBeGJqTqWOWZRRM25uXSTDWbNhdTxE9uRdhXw1JOcalvfoF9KIoMhVP0rd54alZT8ejApmHA==",
|
|
12706
12313
|
"requires": {
|
|
12707
12314
|
"@asyncapi/generator-react-sdk": "^1.0.0",
|
|
12708
|
-
"@asyncapi/parser": "^3.0.
|
|
12709
|
-
"@asyncapi/react-component": "^1.
|
|
12315
|
+
"@asyncapi/parser": "^3.0.2",
|
|
12316
|
+
"@asyncapi/react-component": "^1.2.12",
|
|
12710
12317
|
"highlight.js": "10.7.3",
|
|
12711
12318
|
"puppeteer": "^14.1.0",
|
|
12712
12319
|
"react-dom": "^17.0.2",
|
|
@@ -12725,51 +12332,17 @@
|
|
|
12725
12332
|
}
|
|
12726
12333
|
},
|
|
12727
12334
|
"@asyncapi/openapi-schema-parser": {
|
|
12728
|
-
"version": "3.0.
|
|
12729
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.
|
|
12730
|
-
"integrity": "sha512-
|
|
12335
|
+
"version": "3.0.10",
|
|
12336
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/openapi-schema-parser/-/openapi-schema-parser-3.0.10.tgz",
|
|
12337
|
+
"integrity": "sha512-kaLeYLicn65iLCKnjrmOYEybjFgxrKBOc2ZjwloCMRahyWX3hQHPU9IqL54JxEQ2R9AGznROPhrKz4iczRfKZw==",
|
|
12731
12338
|
"requires": {
|
|
12732
|
-
"@asyncapi/parser": "^
|
|
12339
|
+
"@asyncapi/parser": "^3.0.2",
|
|
12733
12340
|
"@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0",
|
|
12734
12341
|
"ajv": "^8.11.0",
|
|
12735
12342
|
"ajv-errors": "^3.0.0",
|
|
12736
12343
|
"ajv-formats": "^2.1.1"
|
|
12737
12344
|
},
|
|
12738
12345
|
"dependencies": {
|
|
12739
|
-
"@asyncapi/parser": {
|
|
12740
|
-
"version": "2.1.2",
|
|
12741
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.2.tgz",
|
|
12742
|
-
"integrity": "sha512-2pHKnr2P8EujcrvZo4x4zNwsEIAg5vb1ZEhl2+OH0YBg8EYH/Xx73XZ+bbwLaYIg1gvFjm29jNB9UL3CMeDU5w==",
|
|
12743
|
-
"requires": {
|
|
12744
|
-
"@asyncapi/specs": "^5.1.0",
|
|
12745
|
-
"@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0",
|
|
12746
|
-
"@stoplight/json": "^3.20.2",
|
|
12747
|
-
"@stoplight/json-ref-readers": "^1.2.2",
|
|
12748
|
-
"@stoplight/json-ref-resolver": "^3.1.5",
|
|
12749
|
-
"@stoplight/spectral-core": "^1.16.1",
|
|
12750
|
-
"@stoplight/spectral-functions": "^1.7.2",
|
|
12751
|
-
"@stoplight/spectral-parsers": "^1.0.2",
|
|
12752
|
-
"@stoplight/spectral-ref-resolver": "^1.0.3",
|
|
12753
|
-
"@stoplight/types": "^13.12.0",
|
|
12754
|
-
"@types/json-schema": "^7.0.11",
|
|
12755
|
-
"@types/urijs": "^1.19.19",
|
|
12756
|
-
"ajv": "^8.11.0",
|
|
12757
|
-
"ajv-errors": "^3.0.0",
|
|
12758
|
-
"ajv-formats": "^2.1.1",
|
|
12759
|
-
"avsc": "^5.7.5",
|
|
12760
|
-
"js-yaml": "^4.1.0",
|
|
12761
|
-
"jsonpath-plus": "^7.2.0",
|
|
12762
|
-
"node-fetch": "2.6.7"
|
|
12763
|
-
}
|
|
12764
|
-
},
|
|
12765
|
-
"@asyncapi/specs": {
|
|
12766
|
-
"version": "5.1.0",
|
|
12767
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz",
|
|
12768
|
-
"integrity": "sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==",
|
|
12769
|
-
"requires": {
|
|
12770
|
-
"@types/json-schema": "^7.0.11"
|
|
12771
|
-
}
|
|
12772
|
-
},
|
|
12773
12346
|
"ajv": {
|
|
12774
12347
|
"version": "8.12.0",
|
|
12775
12348
|
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz",
|
|
@@ -12787,45 +12360,10 @@
|
|
|
12787
12360
|
"integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==",
|
|
12788
12361
|
"requires": {}
|
|
12789
12362
|
},
|
|
12790
|
-
"js-yaml": {
|
|
12791
|
-
"version": "4.1.0",
|
|
12792
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
|
|
12793
|
-
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
|
|
12794
|
-
"requires": {
|
|
12795
|
-
"argparse": "^2.0.1"
|
|
12796
|
-
}
|
|
12797
|
-
},
|
|
12798
12363
|
"json-schema-traverse": {
|
|
12799
12364
|
"version": "1.0.0",
|
|
12800
12365
|
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
|
|
12801
12366
|
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
|
|
12802
|
-
},
|
|
12803
|
-
"node-fetch": {
|
|
12804
|
-
"version": "2.6.7",
|
|
12805
|
-
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
|
|
12806
|
-
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
|
|
12807
|
-
"requires": {
|
|
12808
|
-
"whatwg-url": "^5.0.0"
|
|
12809
|
-
}
|
|
12810
|
-
},
|
|
12811
|
-
"tr46": {
|
|
12812
|
-
"version": "0.0.3",
|
|
12813
|
-
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
|
12814
|
-
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
|
12815
|
-
},
|
|
12816
|
-
"webidl-conversions": {
|
|
12817
|
-
"version": "3.0.1",
|
|
12818
|
-
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
|
12819
|
-
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
|
|
12820
|
-
},
|
|
12821
|
-
"whatwg-url": {
|
|
12822
|
-
"version": "5.0.0",
|
|
12823
|
-
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
|
12824
|
-
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
|
12825
|
-
"requires": {
|
|
12826
|
-
"tr46": "~0.0.3",
|
|
12827
|
-
"webidl-conversions": "^3.0.0"
|
|
12828
|
-
}
|
|
12829
12367
|
}
|
|
12830
12368
|
}
|
|
12831
12369
|
},
|
|
@@ -12915,108 +12453,13 @@
|
|
|
12915
12453
|
}
|
|
12916
12454
|
},
|
|
12917
12455
|
"@asyncapi/protobuf-schema-parser": {
|
|
12918
|
-
"version": "3.0.
|
|
12919
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/protobuf-schema-parser/-/protobuf-schema-parser-3.0.
|
|
12920
|
-
"integrity": "sha512-
|
|
12456
|
+
"version": "3.0.6",
|
|
12457
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/protobuf-schema-parser/-/protobuf-schema-parser-3.0.6.tgz",
|
|
12458
|
+
"integrity": "sha512-XdjGyj4Sp7Hu2xy1gXaEm5ed5TcB9iQy9j2im3Hcqg8pwk1DTQqWF8zvfcDAKPGn22rBRSfzyrmecLOZtbuOPQ==",
|
|
12921
12459
|
"requires": {
|
|
12922
|
-
"@asyncapi/parser": "^
|
|
12460
|
+
"@asyncapi/parser": "^3.0.2",
|
|
12923
12461
|
"@types/protocol-buffers-schema": "^3.4.1",
|
|
12924
12462
|
"protocol-buffers-schema": "^3.6.0"
|
|
12925
|
-
},
|
|
12926
|
-
"dependencies": {
|
|
12927
|
-
"@asyncapi/parser": {
|
|
12928
|
-
"version": "2.1.1",
|
|
12929
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/parser/-/parser-2.1.1.tgz",
|
|
12930
|
-
"integrity": "sha512-FnJ5Du9iMu9MEb5mF90gF7z1ZkdnazisBsm3GHVFr7VaiF8luAoB+bklGYFwoMb+9QWKWr1099orY5VyXULAcQ==",
|
|
12931
|
-
"requires": {
|
|
12932
|
-
"@asyncapi/specs": "^5.1.0",
|
|
12933
|
-
"@openapi-contrib/openapi-schema-to-json-schema": "~3.2.0",
|
|
12934
|
-
"@stoplight/json": "^3.20.2",
|
|
12935
|
-
"@stoplight/json-ref-readers": "^1.2.2",
|
|
12936
|
-
"@stoplight/json-ref-resolver": "^3.1.5",
|
|
12937
|
-
"@stoplight/spectral-core": "^1.16.1",
|
|
12938
|
-
"@stoplight/spectral-functions": "^1.7.2",
|
|
12939
|
-
"@stoplight/spectral-parsers": "^1.0.2",
|
|
12940
|
-
"@stoplight/spectral-ref-resolver": "^1.0.3",
|
|
12941
|
-
"@stoplight/types": "^13.12.0",
|
|
12942
|
-
"@types/json-schema": "^7.0.11",
|
|
12943
|
-
"@types/urijs": "^1.19.19",
|
|
12944
|
-
"ajv": "^8.11.0",
|
|
12945
|
-
"ajv-errors": "^3.0.0",
|
|
12946
|
-
"ajv-formats": "^2.1.1",
|
|
12947
|
-
"avsc": "^5.7.5",
|
|
12948
|
-
"js-yaml": "^4.1.0",
|
|
12949
|
-
"jsonpath-plus": "^7.2.0",
|
|
12950
|
-
"node-fetch": "2.6.7",
|
|
12951
|
-
"ramldt2jsonschema": "^1.2.3",
|
|
12952
|
-
"webapi-parser": "^0.5.0"
|
|
12953
|
-
}
|
|
12954
|
-
},
|
|
12955
|
-
"@asyncapi/specs": {
|
|
12956
|
-
"version": "5.1.0",
|
|
12957
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/specs/-/specs-5.1.0.tgz",
|
|
12958
|
-
"integrity": "sha512-yffhETqehkim43luMnPKOwzY0D0YtU4bKpORIXIaid6p5Y5kDLrMGJaEPkNieQp03HMjhjFrnUPtT8kvqe0+aQ==",
|
|
12959
|
-
"requires": {
|
|
12960
|
-
"@types/json-schema": "^7.0.11"
|
|
12961
|
-
}
|
|
12962
|
-
},
|
|
12963
|
-
"ajv": {
|
|
12964
|
-
"version": "8.12.0",
|
|
12965
|
-
"resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz",
|
|
12966
|
-
"integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==",
|
|
12967
|
-
"requires": {
|
|
12968
|
-
"fast-deep-equal": "^3.1.1",
|
|
12969
|
-
"json-schema-traverse": "^1.0.0",
|
|
12970
|
-
"require-from-string": "^2.0.2",
|
|
12971
|
-
"uri-js": "^4.2.2"
|
|
12972
|
-
}
|
|
12973
|
-
},
|
|
12974
|
-
"ajv-errors": {
|
|
12975
|
-
"version": "3.0.0",
|
|
12976
|
-
"resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-3.0.0.tgz",
|
|
12977
|
-
"integrity": "sha512-V3wD15YHfHz6y0KdhYFjyy9vWtEVALT9UrxfN3zqlI6dMioHnJrqOYfyPKol3oqrnCM9uwkcdCwkJ0WUcbLMTQ==",
|
|
12978
|
-
"requires": {}
|
|
12979
|
-
},
|
|
12980
|
-
"js-yaml": {
|
|
12981
|
-
"version": "4.1.0",
|
|
12982
|
-
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz",
|
|
12983
|
-
"integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==",
|
|
12984
|
-
"requires": {
|
|
12985
|
-
"argparse": "^2.0.1"
|
|
12986
|
-
}
|
|
12987
|
-
},
|
|
12988
|
-
"json-schema-traverse": {
|
|
12989
|
-
"version": "1.0.0",
|
|
12990
|
-
"resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",
|
|
12991
|
-
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
|
|
12992
|
-
},
|
|
12993
|
-
"node-fetch": {
|
|
12994
|
-
"version": "2.6.7",
|
|
12995
|
-
"resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.7.tgz",
|
|
12996
|
-
"integrity": "sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==",
|
|
12997
|
-
"requires": {
|
|
12998
|
-
"whatwg-url": "^5.0.0"
|
|
12999
|
-
}
|
|
13000
|
-
},
|
|
13001
|
-
"tr46": {
|
|
13002
|
-
"version": "0.0.3",
|
|
13003
|
-
"resolved": "https://registry.npmjs.org/tr46/-/tr46-0.0.3.tgz",
|
|
13004
|
-
"integrity": "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="
|
|
13005
|
-
},
|
|
13006
|
-
"webidl-conversions": {
|
|
13007
|
-
"version": "3.0.1",
|
|
13008
|
-
"resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz",
|
|
13009
|
-
"integrity": "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="
|
|
13010
|
-
},
|
|
13011
|
-
"whatwg-url": {
|
|
13012
|
-
"version": "5.0.0",
|
|
13013
|
-
"resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-5.0.0.tgz",
|
|
13014
|
-
"integrity": "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw==",
|
|
13015
|
-
"requires": {
|
|
13016
|
-
"tr46": "~0.0.3",
|
|
13017
|
-
"webidl-conversions": "^3.0.0"
|
|
13018
|
-
}
|
|
13019
|
-
}
|
|
13020
12463
|
}
|
|
13021
12464
|
},
|
|
13022
12465
|
"@asyncapi/raml-dt-schema-parser": {
|
|
@@ -13041,14 +12484,14 @@
|
|
|
13041
12484
|
}
|
|
13042
12485
|
},
|
|
13043
12486
|
"@asyncapi/react-component": {
|
|
13044
|
-
"version": "1.2.
|
|
13045
|
-
"resolved": "https://registry.npmjs.org/@asyncapi/react-component/-/react-component-1.2.
|
|
13046
|
-
"integrity": "sha512
|
|
12487
|
+
"version": "1.2.13",
|
|
12488
|
+
"resolved": "https://registry.npmjs.org/@asyncapi/react-component/-/react-component-1.2.13.tgz",
|
|
12489
|
+
"integrity": "sha512-PMDHVk0nG7fFgRn/OA2WabfY4x6xCpbPVTLbu5ySLGpL5VABvrK5rIl6wfHk+yZwyuMRNfSbURLkU2L+3Ho8Zw==",
|
|
13047
12490
|
"requires": {
|
|
13048
|
-
"@asyncapi/avro-schema-parser": "^3.0.
|
|
13049
|
-
"@asyncapi/openapi-schema-parser": "^3.0.
|
|
13050
|
-
"@asyncapi/parser": "^3.0.
|
|
13051
|
-
"@asyncapi/protobuf-schema-parser": "3.0.
|
|
12491
|
+
"@asyncapi/avro-schema-parser": "^3.0.9",
|
|
12492
|
+
"@asyncapi/openapi-schema-parser": "^3.0.10",
|
|
12493
|
+
"@asyncapi/parser": "^3.0.2",
|
|
12494
|
+
"@asyncapi/protobuf-schema-parser": "^3.0.6",
|
|
13052
12495
|
"highlight.js": "^10.7.2",
|
|
13053
12496
|
"isomorphic-dompurify": "^0.13.0",
|
|
13054
12497
|
"marked": "^4.0.14",
|
|
@@ -14725,6 +14168,11 @@
|
|
|
14725
14168
|
"resolved": "https://registry.npmjs.org/@kwsites/promise-deferred/-/promise-deferred-1.1.1.tgz",
|
|
14726
14169
|
"integrity": "sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw=="
|
|
14727
14170
|
},
|
|
14171
|
+
"@next/env": {
|
|
14172
|
+
"version": "14.0.4",
|
|
14173
|
+
"resolved": "https://registry.npmjs.org/@next/env/-/env-14.0.4.tgz",
|
|
14174
|
+
"integrity": "sha512-irQnbMLbUNQpP1wcE5NstJtbuA/69kRfzBrpAD7Gsn8zm/CY6YQYc3HQBz8QPxwISG26tIm5afvvVbu508oBeQ=="
|
|
14175
|
+
},
|
|
14728
14176
|
"@node-redis/bloom": {
|
|
14729
14177
|
"version": "1.0.1",
|
|
14730
14178
|
"resolved": "https://registry.npmjs.org/@node-redis/bloom/-/bloom-1.0.1.tgz",
|
|
@@ -33,6 +33,12 @@ export default class Models extends Command {
|
|
|
33
33
|
* Go and Java specific package name to use for the generated models
|
|
34
34
|
*/
|
|
35
35
|
packageName: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Java specific options
|
|
38
|
+
*/
|
|
39
|
+
javaIncludeComments: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
40
|
+
javaJackson: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
41
|
+
javaConstraints: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
36
42
|
/**
|
|
37
43
|
* C++ and C# and PHP specific namespace to use for the generated models
|
|
38
44
|
*/
|
|
@@ -27,7 +27,7 @@ class Models extends base_1.default {
|
|
|
27
27
|
run() {
|
|
28
28
|
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
|
29
29
|
const { args, flags } = yield this.parse(Models);
|
|
30
|
-
const { tsModelType, tsEnumType, tsIncludeComments, tsModuleSystem, tsExportType, tsJsonBinPack, tsMarshalling, tsExampleInstance, namespace, csharpAutoImplement, csharpArrayType, csharpNewtonsoft, csharpHashcode, csharpEqual, csharpSystemJson, packageName, output } = flags;
|
|
30
|
+
const { tsModelType, tsEnumType, tsIncludeComments, tsModuleSystem, tsExportType, tsJsonBinPack, tsMarshalling, tsExampleInstance, namespace, csharpAutoImplement, csharpArrayType, csharpNewtonsoft, csharpHashcode, csharpEqual, csharpSystemJson, packageName, javaIncludeComments, javaJackson, javaConstraints, output } = flags;
|
|
31
31
|
const { language, file } = args;
|
|
32
32
|
const inputFile = (yield (0, SpecificationFile_1.load)(file)) || (yield (0, SpecificationFile_1.load)());
|
|
33
33
|
if (inputFile.isAsyncAPI3()) {
|
|
@@ -151,7 +151,26 @@ class Models extends base_1.default {
|
|
|
151
151
|
if (packageName === undefined) {
|
|
152
152
|
throw new Error('In order to generate models to Java, we need to know which package they are under. Add `--packageName=PACKAGENAME` to set the desired package name.');
|
|
153
153
|
}
|
|
154
|
-
|
|
154
|
+
presets.push({
|
|
155
|
+
preset: modelina_1.JAVA_COMMON_PRESET,
|
|
156
|
+
options
|
|
157
|
+
});
|
|
158
|
+
if (javaIncludeComments) {
|
|
159
|
+
presets.push(modelina_1.JAVA_DESCRIPTION_PRESET);
|
|
160
|
+
}
|
|
161
|
+
if (javaJackson) {
|
|
162
|
+
presets.push({
|
|
163
|
+
preset: modelina_1.JAVA_COMMON_PRESET,
|
|
164
|
+
options
|
|
165
|
+
}, modelina_1.JAVA_JACKSON_PRESET);
|
|
166
|
+
}
|
|
167
|
+
if (javaConstraints) {
|
|
168
|
+
presets.push({
|
|
169
|
+
preset: modelina_1.JAVA_COMMON_PRESET,
|
|
170
|
+
options
|
|
171
|
+
}, modelina_1.JAVA_CONSTRAINTS_PRESET);
|
|
172
|
+
}
|
|
173
|
+
fileGenerator = new modelina_1.JavaFileGenerator({ presets });
|
|
155
174
|
fileOptions = {
|
|
156
175
|
packageName
|
|
157
176
|
};
|
|
@@ -273,6 +292,22 @@ Models.flags = Object.assign({ help: core_1.Flags.help({ char: 'h' }), output: c
|
|
|
273
292
|
description: 'Go, Java and Kotlin specific, define the package to use for the generated models. This is required when language is `go`, `java` or `kotlin`.',
|
|
274
293
|
required: false
|
|
275
294
|
}),
|
|
295
|
+
/**
|
|
296
|
+
* Java specific options
|
|
297
|
+
*/
|
|
298
|
+
javaIncludeComments: core_1.Flags.boolean({
|
|
299
|
+
description: 'Java specific, if enabled add comments while generating models.',
|
|
300
|
+
required: false,
|
|
301
|
+
default: false
|
|
302
|
+
}), javaJackson: core_1.Flags.boolean({
|
|
303
|
+
description: 'Java specific, generate the models with Jackson serialization support',
|
|
304
|
+
required: false,
|
|
305
|
+
default: false
|
|
306
|
+
}), javaConstraints: core_1.Flags.boolean({
|
|
307
|
+
description: 'Java specific, generate the models with constraints',
|
|
308
|
+
required: false,
|
|
309
|
+
default: false
|
|
310
|
+
}),
|
|
276
311
|
/**
|
|
277
312
|
* C++ and C# and PHP specific namespace to use for the generated models
|
|
278
313
|
*/
|
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.3.1",
|
|
3
3
|
"commands": {
|
|
4
4
|
"bundle": {
|
|
5
5
|
"id": "bundle",
|
|
@@ -590,6 +590,27 @@
|
|
|
590
590
|
"required": false,
|
|
591
591
|
"multiple": false
|
|
592
592
|
},
|
|
593
|
+
"javaIncludeComments": {
|
|
594
|
+
"name": "javaIncludeComments",
|
|
595
|
+
"type": "boolean",
|
|
596
|
+
"description": "Java specific, if enabled add comments while generating models.",
|
|
597
|
+
"required": false,
|
|
598
|
+
"allowNo": false
|
|
599
|
+
},
|
|
600
|
+
"javaJackson": {
|
|
601
|
+
"name": "javaJackson",
|
|
602
|
+
"type": "boolean",
|
|
603
|
+
"description": "Java specific, generate the models with Jackson serialization support",
|
|
604
|
+
"required": false,
|
|
605
|
+
"allowNo": false
|
|
606
|
+
},
|
|
607
|
+
"javaConstraints": {
|
|
608
|
+
"name": "javaConstraints",
|
|
609
|
+
"type": "boolean",
|
|
610
|
+
"description": "Java specific, generate the models with constraints",
|
|
611
|
+
"required": false,
|
|
612
|
+
"allowNo": false
|
|
613
|
+
},
|
|
593
614
|
"namespace": {
|
|
594
615
|
"name": "namespace",
|
|
595
616
|
"type": "option",
|