@asyncapi/cli 2.16.3 → 2.16.5

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.
@@ -14,8 +14,6 @@ export default class Convert extends Command {
14
14
  };
15
15
  static args: {
16
16
  'spec-file': import("@oclif/core/lib/interfaces").Arg<string | undefined, Record<string, unknown>>;
17
- proxyHost: import("@oclif/core/lib/interfaces").Arg<string | undefined, Record<string, unknown>>;
18
- proxyPort: import("@oclif/core/lib/interfaces").Arg<string | undefined, Record<string, unknown>>;
19
17
  };
20
18
  run(): Promise<void>;
21
19
  private handleConversion;
@@ -129,6 +129,4 @@ Convert.description = 'Convert asyncapi documents older to newer versions or Ope
129
129
  Convert.flags = Object.assign(Object.assign({}, (0, convert_flags_1.convertFlags)(latestVersion)), (0, proxy_flags_1.proxyFlags)());
130
130
  Convert.args = {
131
131
  'spec-file': core_1.Args.string({ description: 'spec path, url, or context-name', required: false }),
132
- proxyHost: core_1.Args.string({ description: 'Name of the Proxy Host', required: false }),
133
- proxyPort: core_1.Args.string({ description: 'Name of the Port of the ProxyHost', required: false }),
134
132
  };
@@ -53,7 +53,7 @@ class Models extends base_1.default {
53
53
  s.start('Generating models...');
54
54
  try {
55
55
  const generatedModels = yield (0, modelina_cli_1.generateModels)(Object.assign(Object.assign({}, flags), { output }), document, logger, language);
56
- if (output !== 'stdout') {
56
+ if (output && output !== 'stdout') {
57
57
  const generatedModelStrings = generatedModels.map((model) => { return model.modelName; });
58
58
  s.stop((0, picocolors_1.green)(`Successfully generated the following models: ${generatedModelStrings.join(', ')}`));
59
59
  return;
@@ -32,8 +32,6 @@ export default class Optimize extends Command {
32
32
  };
33
33
  static args: {
34
34
  'spec-file': import("@oclif/core/lib/interfaces").Arg<string | undefined, Record<string, unknown>>;
35
- proxyHost: import("@oclif/core/lib/interfaces").Arg<string | undefined, Record<string, unknown>>;
36
- proxyPort: import("@oclif/core/lib/interfaces").Arg<string | undefined, Record<string, unknown>>;
37
35
  };
38
36
  parser: Parser;
39
37
  run(): Promise<void>;
@@ -236,6 +236,4 @@ Optimize.examples = [
236
236
  Optimize.flags = Object.assign(Object.assign({}, (0, optimize_flags_1.optimizeFlags)()), (0, proxy_flags_1.proxyFlags)());
237
237
  Optimize.args = {
238
238
  'spec-file': core_1.Args.string({ description: 'spec path, url, or context-name', required: false }),
239
- proxyHost: core_1.Args.string({ description: 'Name of the Proxy Host', required: false }),
240
- proxyPort: core_1.Args.string({ description: 'Name of the Port of the ProxyHost', required: false }),
241
239
  };
@@ -14,8 +14,6 @@ export default class Validate extends Command {
14
14
  };
15
15
  static args: {
16
16
  'spec-file': import("@oclif/core/lib/interfaces").Arg<string | undefined, Record<string, unknown>>;
17
- proxyHost: import("@oclif/core/lib/interfaces").Arg<string | undefined, Record<string, unknown>>;
18
- proxyPort: import("@oclif/core/lib/interfaces").Arg<string | undefined, Record<string, unknown>>;
19
17
  };
20
18
  run(): Promise<void>;
21
19
  }
@@ -42,6 +42,4 @@ Validate.description = 'validate asyncapi file';
42
42
  Validate.flags = Object.assign(Object.assign({}, (0, validate_flags_1.validateFlags)()), (0, proxy_flags_1.proxyFlags)());
43
43
  Validate.args = {
44
44
  'spec-file': core_1.Args.string({ description: 'spec path, url, or context-name', required: false }),
45
- proxyHost: core_1.Args.string({ description: 'Name of the Proxy Host', required: false }),
46
- proxyPort: core_1.Args.string({ description: 'Name of the Port of the ProxyHost', required: false }),
47
45
  };
@@ -73,16 +73,6 @@
73
73
  "description": "spec path, url, or context-name",
74
74
  "name": "spec-file",
75
75
  "required": false
76
- },
77
- "proxyHost": {
78
- "description": "Name of the Proxy Host",
79
- "name": "proxyHost",
80
- "required": false
81
- },
82
- "proxyPort": {
83
- "description": "Name of the Port of the ProxyHost",
84
- "name": "proxyPort",
85
- "required": false
86
76
  }
87
77
  },
88
78
  "description": "Convert asyncapi documents older to newer versions or OpenAPI/postman-collection documents to AsyncAPI",
@@ -381,16 +371,6 @@
381
371
  "description": "spec path, url, or context-name",
382
372
  "name": "spec-file",
383
373
  "required": false
384
- },
385
- "proxyHost": {
386
- "description": "Name of the Proxy Host",
387
- "name": "proxyHost",
388
- "required": false
389
- },
390
- "proxyPort": {
391
- "description": "Name of the Port of the ProxyHost",
392
- "name": "proxyPort",
393
- "required": false
394
374
  }
395
375
  },
396
376
  "description": "optimize asyncapi specification file",
@@ -537,16 +517,6 @@
537
517
  "description": "spec path, url, or context-name",
538
518
  "name": "spec-file",
539
519
  "required": false
540
- },
541
- "proxyHost": {
542
- "description": "Name of the Proxy Host",
543
- "name": "proxyHost",
544
- "required": false
545
- },
546
- "proxyPort": {
547
- "description": "Name of the Port of the ProxyHost",
548
- "name": "proxyPort",
549
- "required": false
550
520
  }
551
521
  },
552
522
  "description": "validate asyncapi file",
@@ -1801,5 +1771,5 @@
1801
1771
  ]
1802
1772
  }
1803
1773
  },
1804
- "version": "2.16.3"
1774
+ "version": "2.16.5"
1805
1775
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@asyncapi/cli",
3
3
  "description": "All in one CLI for all AsyncAPI tools",
4
- "version": "2.16.3",
4
+ "version": "2.16.5",
5
5
  "author": "@asyncapi",
6
6
  "bin": {
7
7
  "asyncapi": "./bin/run_bin"