You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-o, --output=<value> path to the file where the result is saved
323
+
-p, --perspective=<option> [default: server] Perspective to use when converting OpenAPI to AsyncAPI (client or server). Note: This option is only applicable for OpenAPI to AsyncAPI conversions.
324
+
<options: client|server>
323
325
-t, --target-version=<value> [default: 3.0.0] asyncapi version to convert to
324
326
325
327
DESCRIPTION
326
-
Convert asyncapi documents older to newer versions
328
+
Convert asyncapi documents older to newer versions or or OpenAPI documents to AsyncAPI
output: Flags.string({char: 'o',description: 'path to the file where the result is saved'}),
7
-
'target-version': Flags.string({char: 't',description: 'asyncapi version to convert to',default: latestVersion})
7
+
format: Flags.string({
8
+
char: 'f',
9
+
description: 'Specify the format to convert from (openapi or asyncapi)',
10
+
options: ['openapi','asyncapi'],
11
+
required: true,
12
+
default: 'asyncapi',
13
+
}),
14
+
'target-version': Flags.string({char: 't',description: 'asyncapi version to convert to',default: latestVersion}),
15
+
perspective: Flags.string({
16
+
char: 'p',
17
+
description: 'Perspective to use when converting OpenAPI to AsyncAPI (client or server). Note: This option is only applicable for OpenAPI to AsyncAPI conversions.',
0 commit comments