Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Rm anyparam - #27

Open
viclovsky wants to merge 5 commits into
eroshenkoam:masterfrom
viclovsky:rm_anyparam
Open

Rm anyparam#27
viclovsky wants to merge 5 commits into
eroshenkoam:masterfrom
viclovsky:rm_anyparam

Conversation

@viclovsky

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants