Skip to content

Commit

Permalink
[client] Followup #546 - put GeneratedHttpComponent into top package
Browse files Browse the repository at this point in the history
Don't always put GeneratedHttpComponent into .httpclient as the client interface might NOT be public now with 546
  • Loading branch information
rbygrave committed Jan 16, 2025
1 parent 221dcca commit 3ffb9c1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ void setFullName(String fullName) {
String fullName() {
if (fullName == null) {
String topPackage = TopPackage.of(generatedClients);
if (!topPackage.endsWith(".httpclient")) {
topPackage += ".httpclient";
}
fullName = topPackage + ".GeneratedHttpComponent";
}
return fullName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import java.util.stream.Stream;

@Client
public interface JunkApi {
interface JunkApi {

@Post
void asVoid();
Expand Down

0 comments on commit 3ffb9c1

Please sign in to comment.