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
| openapi-generator | Dev dependency for generating openapi sdk via dart source gen [see here for usage](https://pub.dev/packages/openapi_generator)|[](https://pub.dev/packages/openapi_generator)|
26
-
| openapi-generator-annotations | Annotations for annotating dart class with instructions for generating openapi sdk [see here for usage](https://pub.dev/packages/openapi_generator_annotations)|[](https://pub.dev/packages/openapi_generator)|
27
-
| openapi-generator-cli |Cli code openapi sdk generator for dart [see here for usage](https://pub.dev/packages/openapi_generator_cli)|[](https://pub.dev/packages/openapi_generator_cli)|
| openapi-generator | Dev dependency for generating openapi client sdk via dart source gen [see here for usage](https://pub.dev/packages/openapi_generator)|[](https://pub.dev/packages/openapi_generator)|
26
+
| openapi-generator-annotations | Annotations for annotating dart class with instructions for generating openapi client sdk [see here for usage](https://pub.dev/packages/openapi_generator_annotations)|[](https://pub.dev/packages/openapi_generator)|
27
+
| openapi-generator-cli |CLI only generator. [see here for usage](https://pub.dev/packages/openapi_generator_cli)|[](https://pub.dev/packages/openapi_generator_cli)|
Copy file name to clipboardExpand all lines: openapi-generator/lib/src/openapi_generator_runner.dart
+28-52Lines changed: 28 additions & 52 deletions
Original file line number
Diff line number
Diff line change
@@ -33,6 +33,7 @@ class OpenapiGenerator extends GeneratorForAnnotation<annots.Openapi> {
33
33
':::::::::::::::::::::::::::::::::::::::::::',
34
34
':: Openapi generator for dart ::',
35
35
':::::::::::::::::::::::::::::::::::::::::::',
36
+
'',
36
37
].join('\n'),
37
38
),
38
39
);
@@ -74,8 +75,8 @@ class OpenapiGenerator extends GeneratorForAnnotation<annots.Openapi> {
74
75
log: log,
75
76
communication:OutputMessage(
76
77
message:
77
-
'- :: Library exists definition at [$path] exists and configuration is annotated with alwaysRun: [${args.alwaysRun}]. This option will be removed in a future version. ::',
78
-
level:Level.WARNING,
78
+
'Generated client already exists at [$path] and configuration is annotated with alwaysRun: [${args.alwaysRun}]. Therefore, skipping this build. Note that the "alwaysRun" config will be removed in future versions.',
79
+
level:Level.INFO,
79
80
),
80
81
);
81
82
return'';
@@ -98,7 +99,7 @@ class OpenapiGenerator extends GeneratorForAnnotation<annots.Openapi> {
98
99
lateOutputMessage communication;
99
100
if (e is!OutputMessage) {
100
101
communication =OutputMessage(
101
-
message:'- :: There was an error generating the spec. ::',
102
+
message:' - There was an error generating the spec.',
102
103
level:Level.SEVERE,
103
104
additionalContext: e,
104
105
stackTrace: st,
@@ -109,12 +110,12 @@ class OpenapiGenerator extends GeneratorForAnnotation<annots.Openapi> {
0 commit comments