refactor: erefactor/AutoRefactor - Annotation#8544
refactor: erefactor/AutoRefactor - Annotation#8544wing328 merged 1 commit intoOpenAPITools:masterfrom
Conversation
AutoRefactor cleanup 'AnnotationCleanUp' applied by erefactor: Simplifies annotation uses: - empty parentheses will be removed from annotations, - single members named "value" will be removed from annotations and only the value will be left. For AutoRefactor see https://github.com/JnRouvignac/AutoRefactor For erefactor see https://github.com/cal101/erefactor
|
@wing328 Moin. (Means Hi ;-) Shall I try to split cleanup pull requests on sub project boundaries? What would be some computable criterium to detect the relevant sub project? |
|
No. I think this is fine. Will review. Thanks for the PR 👍 |
|
Quick question: what's the license for I assume its license is open-source friendly but would like to confirm as I only see a readme in that repo. |
|
I never thought about the license on the changes itself. Which technical committee members shall I address future PRs to if any at all? The Java ones as here? Do you have plans on reviving/applying the formatter that's configured in the POM file? There are some cleanups that need a formatting step after application so having a usable formatter is nice to have. There are some cleanups that depend more on project policy or style and may not fit or maybe If PRs can't be rebased automatically the cleanups can be re-applied on the head, just tell me in the comments. |
|
cc @OpenAPITools/generator-core-team |
|
@cal101 thanks for the explanation and the change looks good to me. |
|
CircleCI failure not related to this change. |
AutoRefactor cleanup 'AnnotationCleanUp' applied by erefactor:
Simplifies annotation uses:
only the value will be left.
For AutoRefactor see https://github.com/JnRouvignac/AutoRefactor
For erefactor see https://github.com/cal101/erefactor
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.For Windows users, please run the script in Git BASH.
master,5.1.x,6.0.x@bbdouglas (2017/07) @sreeshas (2017/08) @jfiala (2017/08) @lukoyanov (2017/09) @cbornet (2017/09) @jeff9finger (2018/01) @karismann (2019/03) @Zomzog (2019/04) @lwlee2608 (2019/10) @nmuesch (2021/01)