File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
modules/openapi-generator/src/main/resources/Java/libraries/native Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,10 @@ import java.util.function.Consumer;
5353import java.util.concurrent.CompletableFuture;
5454{ {/asyncNative} }
5555
56- static class HttpRequestBuilderExtensions {
56+ { {> generatedAnnotation} }
57+ { {#operations} }
58+ public class { {classname} } {
59+ private static class HttpRequestBuilderExtensions {
5760 static HttpRequest.Builder withAdditionalHeaders(HttpRequest.Builder builder, Map< String, String> headers) {
5861 if (headers != null) {
5962 for (Map.Entry< String, String> entry : headers.entrySet()) {
@@ -62,11 +65,7 @@ static class HttpRequestBuilderExtensions {
6265 }
6366 return builder;
6467 }
65- }
66-
67- { {> generatedAnnotation} }
68- { {#operations} }
69- public class { {classname} } {
68+ }
7069 private final HttpClient memberVarHttpClient;
7170 private final ObjectMapper memberVarObjectMapper;
7271 private final String memberVarBaseUri;
You can’t perform that action at this time.
0 commit comments