-
Notifications
You must be signed in to change notification settings - Fork 68
fix(spring): change @Generated description to spring specific. #1103
8000New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Couldn't figure out how to add suggestions to unchanged files, but this description is also set in |
@@ -81,7 +81,7 @@ protected static List<GapicClass> addExtraClassAnnotations(List<GapicClass> gapi | |||
AnnotationNode generatedAnnotation = | |||
AnnotationNode.builder() | |||
.setType(FIXED_TYPESTORE.get("Generated")) | |||
.setDescription("by gapic-generator-java") | |||
.setDescription("by spring-generator-java") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do we want to call the spring auto config generator once we move the code to spring-cloud-gcp
? Maybe we should come up with a long term name and stick to it, spring-generator-java
seems a little odd to me. Maybe spring-auto-config-generator
or just a generic spring-generator
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestions. spring-generator
sounds better to me, to keep it open to expanding beyond auto-config in future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add "google" somewhere in there? For instance, google-cloud-spring-generator
?
Kudos, SonarCloud Quality Gate passed! |
change
@Generated
description to spring specific and separate from "gapic-generator-java" for client libraries.Also moved relevant annotation from
SpringPackageInfoComposer
toSpringComposer
.