File tree Expand file tree Collapse file tree 11 files changed +18
-25
lines changed
http-generator-client/src/main/java/io/avaje/http/generator/client
src/test/java/org/example
main/java/org/example/myapp
test/java/org/example/myapp Expand file tree Collapse file tree 11 files changed +18
-25
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ void write() {
6767 writeBody ();
6868
6969 WebMethod webMethod = method .getWebMethod ();
70- writer .append (" .%s()" , webMethod .name (). toLowerCase () ).eol ();
70+ writer .append (" .%s()" , webMethod .name ()).eol ();
7171 if (returnType == UType .VOID ) {
7272 writer .append (" .asDiscarding();" ).eol ();
7373 } else {
Original file line number Diff line number Diff line change 3939 <module >http-generator-jex</module >
4040 <module >http-generator-helidon</module >
4141 <module >http-generator-client</module >
42- <!-- <module>tests</module> -- >
42+ <module >tests</module >
4343 </modules >
4444
4545</project >
Original file line number Diff line number Diff line change 1616
1717 <dependencies >
1818
19- <!-- <dependency>-->
20- <!-- <groupId>io.avaje</groupId>-->
21- <!-- <artifactId>avaje-http-generator-client</artifactId>-->
22- <!-- <version>1.4-SNAPSHOT</version>-->
23- <!-- <scope>provided</scope>-->
24- <!-- </dependency>-->
25-
2619 <dependency >
2720 <groupId >org.avaje.composite</groupId >
2821 <artifactId >logback</artifactId >
3225 <dependency >
3326 <groupId >io.avaje</groupId >
3427 <artifactId >avaje-http-client</artifactId >
35- <version >1.4-SNAPSHOT </version >
28+ <version >1.5 </version >
3629 </dependency >
3730
3831 <dependency >
4437 <dependency >
4538 <groupId >io.avaje</groupId >
4639 <artifactId >avaje-http-api</artifactId >
47- <version >1.4 -SNAPSHOT</version >
40+ <version >1.5 -SNAPSHOT</version >
4841 </dependency >
4942
5043 <dependency >
10093 <path >
10194 <groupId >io.avaje</groupId >
10295 <artifactId >avaje-http-generator-client</artifactId >
103- <version >1.4 -SNAPSHOT</version >
96+ <version >1.5 -SNAPSHOT</version >
10497 </path >
10598 </annotationProcessorPaths >
10699 </configuration >
Original file line number Diff line number Diff line change 1717 <properties >
1818 <mainClass >org.example.Main</mainClass >
1919 <helidon-version >2.2.2</helidon-version >
20- <avaje-http-version >1.4 -SNAPSHOT</avaje-http-version >
20+ <avaje-http-version >1.5 -SNAPSHOT</avaje-http-version >
2121 </properties >
2222
2323 <dependencies >
115115 <dependency >
116116 <groupId >io.avaje</groupId >
117117 <artifactId >avaje-http-client</artifactId >
118- <version >1.0 </version >
118+ <version >1.5 </version >
119119 <scope >test</scope >
120120 </dependency >
121121
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public static void shutdown() {
2828 public static HttpClientContext client () {
2929 return HttpClientContext .newBuilder ()
3030 .withBaseUrl (baseUrl )
31- .withResponseListener (new RequestLogger ())
31+ .withRequestListener (new RequestLogger ())
3232 .withBodyAdapter (new JacksonBodyAdapter (new ObjectMapper ()))
3333 //.with(httpClient)
3434 .build ();
Original file line number Diff line number Diff line change 2020 <swagger .version>2.0.8</swagger .version>
2121 <kotlin .version>1.3.71</kotlin .version>
2222 <jackson .version>2.12.3</jackson .version>
23- <avaje-http-version >1.4 -SNAPSHOT</avaje-http-version >
23+ <avaje-http-version >1.5 -SNAPSHOT</avaje-http-version >
2424 </properties >
2525
2626 <dependencies >
108108 <dependency >
109109 <groupId >io.avaje</groupId >
110110 <artifactId >avaje-http-client</artifactId >
111- <version >1.0 </version >
111+ <version >1.5 </version >
112112 <scope >test</scope >
113113 </dependency >
114114
Original file line number Diff line number Diff line change 11package org .example .myapp ;
22
3- import io .avaje .inject .SystemContext ;
43import io .avaje .http .api .InvalidPathArgumentException ;
54import io .avaje .http .api .InvalidTypeArgumentException ;
65import io .avaje .http .api .ValidationException ;
76import io .avaje .http .api .WebRoutes ;
7+ import io .avaje .inject .SystemContext ;
88import io .javalin .Javalin ;
99import io .javalin .http .staticfiles .Location ;
1010import io .swagger .v3 .oas .annotations .OpenAPIDefinition ;
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public static void shutdown() {
2828 public static HttpClientContext client () {
2929 return HttpClientContext .newBuilder ()
3030 .withBaseUrl (baseUrl )
31- .withResponseListener (new RequestLogger ())
31+ .withRequestListener (new RequestLogger ())
3232 .withBodyAdapter (new JacksonBodyAdapter (new ObjectMapper ()))
3333 //.with(httpClient)
3434 .build ();
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class HelloControllerTest extends BaseWebTest {
3636
3737 this .clientContext = HttpClientContext .newBuilder ()
3838 .withBaseUrl (baseUrl )
39- .withResponseListener (new RequestLogger ())
39+ .withRequestListener (new RequestLogger ())
4040 .withBodyAdapter (new JacksonBodyAdapter (new ObjectMapper ()))
4141 .with (httpClient )
4242 .build ();
Original file line number Diff line number Diff line change 2020 <swagger .version>2.0.8</swagger .version>
2121 <jackson .version>2.12.3</jackson .version>
2222 <avaje-inject .version>6.0.RC3</avaje-inject .version>
23- <avaje-http .version>1.4 -SNAPSHOT</avaje-http .version>
23+ <avaje-http .version>1.5 -SNAPSHOT</avaje-http .version>
2424 </properties >
2525
2626 <dependencies >
9595 <dependency >
9696 <groupId >io.avaje</groupId >
9797 <artifactId >avaje-http-client</artifactId >
98- <version >1.1 </version >
98+ <version >1.5 </version >
9999 <scope >test</scope >
100100 </dependency >
101101
You can’t perform that action at this time.
0 commit comments