Skip to content

Commit c1a9e5e

Browse files
committed
Merge branch 'master' of github.com:avaje/avaje-http
2 parents c310a0c + 7895a48 commit c1a9e5e

File tree

8 files changed

+12
-12
lines changed

8 files changed

+12
-12
lines changed

http-api/src/main/java/io/avaje/http/api/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@
5353
/**
5454
* Client interface types that we want to generate HTTP clients for.
5555
*/
56-
Class<?>[] types();
56+
Class<?>[] value();
5757
}
5858
}

http-generator-client/src/main/java/io/avaje/http/generator/client/ClientProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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);

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
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

tests/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
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>
@@ -48,19 +48,19 @@
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>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@Client.Import(types = OtherApi.class)
1+
@Client.Import(value = OtherApi.class)
22
package org.example;
33

44
import io.avaje.http.api.Client;

tests/test-client-generation/src/test/java/org/example/CommonApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
import static org.assertj.core.api.Assertions.assertThat;
1414

15-
@Client.Import(types = CommonApi.class)
15+
@Client.Import(CommonApi.class)
1616
class CommonApiTest {
1717

1818
static CommonApi client;

tests/test-javalin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
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>

tests/test-nima-jsonb/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
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>

0 commit comments

Comments
 (0)