-
Notifications
You must be signed in to change notification settings - Fork 0
PR draft to check changes #1
New 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
base: master
Are you sure you want to change the base?
Conversation
| .put("lowercase", new LowercaseLambda().generator(this)) | ||
| .put("uppercase", new UppercaseLambda()) | ||
| .put("titlecase", new TitlecaseLambda()) | ||
| .put("pascalcase", new PascalCaseLambda().generator(this)) |
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.
in the end - is useless
| import io.swagger.codegen.v3.generators.handlebars.lambda.LowercaseLambda; | ||
| import io.swagger.codegen.v3.generators.handlebars.lambda.TitlecaseLambda; | ||
| import io.swagger.codegen.v3.generators.handlebars.lambda.UppercaseLambda; | ||
| import io.swagger.codegen.v3.generators.handlebars.lambda.*; |
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.
revert all
| * {{#pascalcase}}{{name}}{{/pascalcase}} | ||
| * </pre> | ||
| */ | ||
| public class PascalCaseLambda implements Lambda { |
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.
useless - remove
| HttpResponseMessage response = null; | ||
| try | ||
| { | ||
| response = await _httpClient.SendAsync(request, HttpCompletionOption.ResponseHeadersRead, ct).ConfigureAwait(false); |
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.
make ConfigureAwait call optional (and disable by default)
src/main/resources/handlebars/csharp-dotnet-core/ApiClient.mustache
Outdated
Show resolved
Hide resolved
…ved unused allocations in templates
No description provided.