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 53
53
/**
54
54
* Client interface types that we want to generate HTTP clients for.
55
55
*/
56
- Class <?>[] types ();
56
+ Class <?>[] value ();
57
57
}
58
58
}
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ private void readModule() {
86
86
}
87
87
88
88
private void writeForImported (Element importedElement ) {
89
- ImportPrism .getInstanceOn (importedElement ).types ().stream ()
89
+ ImportPrism .getInstanceOn (importedElement ).value ().stream ()
90
90
.map (ProcessingContext ::asElement )
91
91
.filter (Objects ::nonNull )
92
92
.forEach (this ::writeClient );
Original file line number Diff line number Diff line change 22
22
<swagger .version>2.2.28</swagger .version>
23
23
<jackson .version>2.14.2</jackson .version>
24
24
<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>
27
27
<module-info .shade>${project.build.directory}${file.separator} module-info.shade</module-info .shade>
28
28
</properties >
29
29
Original file line number Diff line number Diff line change 15
15
<junit .version>5.11.4</junit .version>
16
16
<assertj .version>3.27.3</assertj .version>
17
17
<jackson .version>2.18.2</jackson .version>
18
- <jex .version>3.0-RC15 </jex .version>
18
+ <jex .version>3.0-RC16 </jex .version>
19
19
<avaje-inject .version>11.1</avaje-inject .version>
20
20
<nima .version>4.1.6</nima .version>
21
21
<javalin .version>6.4.0</javalin .version>
48
48
<dependency >
49
49
<groupId >io.avaje</groupId >
50
50
<artifactId >avaje-validator</artifactId >
51
- <version >2.4 </version >
51
+ <version >2.5 </version >
52
52
</dependency >
53
53
54
54
<dependency >
55
55
<groupId >io.avaje</groupId >
56
56
<artifactId >avaje-validator-constraints</artifactId >
57
- <version >2.4 </version >
57
+ <version >2.5 </version >
58
58
</dependency >
59
59
60
60
<dependency >
61
61
<groupId >io.avaje</groupId >
62
62
<artifactId >avaje-validator-generator</artifactId >
63
- <version >2.4 </version >
63
+ <version >2.5 </version >
64
64
</dependency >
65
65
66
66
</dependencies >
Original file line number Diff line number Diff line change 1
- @ Client .Import (types = OtherApi .class )
1
+ @ Client .Import (value = OtherApi .class )
2
2
package org .example ;
3
3
4
4
import io .avaje .http .api .Client ;
Original file line number Diff line number Diff line change 12
12
13
13
import static org .assertj .core .api .Assertions .assertThat ;
14
14
15
- @ Client .Import (types = CommonApi .class )
15
+ @ Client .Import (CommonApi .class )
16
16
class CommonApiTest {
17
17
18
18
static CommonApi client ;
Original file line number Diff line number Diff line change 57
57
<dependency >
58
58
<groupId >io.avaje</groupId >
59
59
<artifactId >avaje-validator</artifactId >
60
- <version >2.4 </version >
60
+ <version >2.5 </version >
61
61
</dependency >
62
62
63
63
<dependency >
Original file line number Diff line number Diff line change 90
90
<path >
91
91
<groupId >io.avaje</groupId >
92
92
<artifactId >avaje-validator-generator</artifactId >
93
- <version >2.4 </version >
93
+ <version >2.5 </version >
94
94
</path >
95
95
</annotationProcessorPaths >
96
96
</configuration >
You can’t perform that action at this time.
0 commit comments