Skip to content

Conversation

@viclovsky
Copy link
Contributor

No description provided.

public MethodSpec methodSpec() {
String sanitized = sanitizeParamName(name);
return MethodSpec.methodBuilder(sanitizeParamName("with" + capitalize(sanitized)))
return MethodSpec.methodBuilder(sanitizeParamName("with" + capitalize(sanitized) + suffix))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mb withForm[Name] & withQuery[Name] ?

this.name = name;
this.req = req;
this.apiClass = apiClass;
this.suffix = "";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reuse new constructor

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants