File tree Expand file tree Collapse file tree 8 files changed +12
-12
lines changed
http-api/src/main/java/io/avaje/http/api
http-generator-client/src/main/java/io/avaje/http/generator/client
test-client-generation/src Expand file tree Collapse file tree 8 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 5353 /**
5454 * Client interface types that we want to generate HTTP clients for.
5555 */
56- Class <?>[] types ();
56+ Class <?>[] value ();
5757 }
5858}
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ private void readModule() {
8686 }
8787
8888 private void writeForImported (Element importedElement ) {
89- ImportPrism .getInstanceOn (importedElement ).types ().stream ()
89+ ImportPrism .getInstanceOn (importedElement ).value ().stream ()
9090 .map (ProcessingContext ::asElement )
9191 .filter (Objects ::nonNull )
9292 .forEach (this ::writeClient );
Original file line number Diff line number Diff line change 2222 <swagger .version>2.2.28</swagger .version>
2323 <jackson .version>2.14.2</jackson .version>
2424 <jex .version>3.0-RC10</jex .version>
25- <avaje .prisms.version>1.37 </avaje .prisms.version>
26- <project .build.outputTimestamp>2025-01-27T17:59:51Z </project .build.outputTimestamp>
25+ <avaje .prisms.version>1.38 </avaje .prisms.version>
26+ <project .build.outputTimestamp>2025-01-16T05:02:23Z </project .build.outputTimestamp>
2727 <module-info .shade>${project.build.directory}${file.separator} module-info.shade</module-info .shade>
2828 </properties >
2929
Original file line number Diff line number Diff line change 1515 <junit .version>5.11.4</junit .version>
1616 <assertj .version>3.27.3</assertj .version>
1717 <jackson .version>2.18.2</jackson .version>
18- <jex .version>3.0-RC15 </jex .version>
18+ <jex .version>3.0-RC16 </jex .version>
1919 <avaje-inject .version>11.1</avaje-inject .version>
2020 <nima .version>4.1.6</nima .version>
2121 <javalin .version>6.4.0</javalin .version>
4848 <dependency >
4949 <groupId >io.avaje</groupId >
5050 <artifactId >avaje-validator</artifactId >
51- <version >2.4 </version >
51+ <version >2.5 </version >
5252 </dependency >
5353
5454 <dependency >
5555 <groupId >io.avaje</groupId >
5656 <artifactId >avaje-validator-constraints</artifactId >
57- <version >2.4 </version >
57+ <version >2.5 </version >
5858 </dependency >
5959
6060 <dependency >
6161 <groupId >io.avaje</groupId >
6262 <artifactId >avaje-validator-generator</artifactId >
63- <version >2.4 </version >
63+ <version >2.5 </version >
6464 </dependency >
6565
6666 </dependencies >
Original file line number Diff line number Diff line change 1- @ Client .Import (types = OtherApi .class )
1+ @ Client .Import (value = OtherApi .class )
22package org .example ;
33
44import io .avaje .http .api .Client ;
Original file line number Diff line number Diff line change 1212
1313import static org .assertj .core .api .Assertions .assertThat ;
1414
15- @ Client .Import (types = CommonApi .class )
15+ @ Client .Import (CommonApi .class )
1616class CommonApiTest {
1717
1818 static CommonApi client ;
Original file line number Diff line number Diff line change 5757 <dependency >
5858 <groupId >io.avaje</groupId >
5959 <artifactId >avaje-validator</artifactId >
60- <version >2.4 </version >
60+ <version >2.5 </version >
6161 </dependency >
6262
6363 <dependency >
Original file line number Diff line number Diff line change 9090 <path >
9191 <groupId >io.avaje</groupId >
9292 <artifactId >avaje-validator-generator</artifactId >
93- <version >2.4 </version >
93+ <version >2.5 </version >
9494 </path >
9595 </annotationProcessorPaths >
9696 </configuration >
You can’t perform that action at this time.
0 commit comments