Skip to content

Commit 0892b56

Browse files
committed
fix: Update deprecation message for skipSpecDepMessage and improve link in bug report template
1 parent 6afee91 commit 0892b56

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/ISSUE_TEMPLATE/1-bug-report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ body:
1717
This library wraps the [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator) to provide Dart/Flutter codegen.
1818
Some issues may come from the underlying generator, not from this library.
1919
If the issue you are experiencing is related to the generated code, then you need to open an issue on the [OpenAPI Generator repo](https://github.com/OpenAPITools/openapi-generator/issues).
20-
[Click here to learn more](https://github.com/gibahjoe/openapi-generator-dart#note)
20+
[Click here to learn more](https://github.com/gibahjoe/openapi-generator-dart#advanced-configuration)
2121
2222
- type: dropdown
2323
attributes:

openapi-generator-annotations/lib/src/openapi_generator_annotations_base.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ import 'package:meta/meta.dart';
66

77
const skipSpecDepMessage =
88
'This will be removed in next major release. This generator will always run'
9-
'if changes are detected on local spec file. see - Use `forceAlwaysRun` '
9+
'if changes are detected on local spec file. see https://github.com/gibahjoe/openapi-generator-dart#deprecation--breaking-change-notice - Use `forceAlwaysRun` '
1010
'to always run the generator regardless of spec changes.';
11+
1112
class Openapi {
1213
/// Additional properties to pass to the compiler (CSV)
1314
///
@@ -187,8 +188,7 @@ class Openapi {
187188
this.projectPubspecPath,
188189
this.debugLogging = false,
189190
this.forceAlwaysRun = false,
190-
@Deprecated(skipSpecDepMessage)
191-
this.skipIfSpecIsUnchanged = true,
191+
@Deprecated(skipSpecDepMessage) this.skipIfSpecIsUnchanged = true,
192192
});
193193

194194
@override

0 commit comments

Comments
 (0)