openapi-generator-dart
openapi-generator-dart copied to clipboard
Add updateAnnotatedFile property
Fixes #131
This PR adds updateAnnotatedFile property to @OpenApi() annotation.
When the timestamp is forcibly added or updated to the @OpenApi() annotated class, frequent differences occur in source control. Therefore, by adding the updateAnnotatedFile property, if false is set, the addition or update of the timestamp will not be performed.
@Openapi(
...
updateAnnotatedFile: false,
)
Default is true to keep current behavior.
The operation was checked by uncommenting in openapi-generator/pubspec.yaml.
# dependency_overrides:
# openapi_generator_annotations:
# path: ../openapi-generator-annotations
We tested it on 5 APIs, and it worked perfectly. Thanks
Also interested in this. When this can be merged?
Great change! Please merge :)
This PR is blocked because it requires a review from a user with write permissions. Also the package update process will likely be necessary after merge. Therefore need to wait for owner (@gibahjoe) to respond.
@aoisupersix Yes, sorry, my comment was meant for @gibahjoe :)