Skip to content

[http-client] combine generated consecutive path literals #617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 7, 2025

Conversation

SentryMan
Copy link
Collaborator

Now will generate clients like this

@Client
public interface ApiClient {
  @Get("/consecutive/paths/generate")
  String consecutive();
}
  @Override
  public String consecutive(String accept) {
    return client.request()
      .path("consecutive/paths/generate")
      .GET()
      .asPlainString().body();
  }

@SentryMan SentryMan added this to the 3.4 milestone Jul 3, 2025
@SentryMan SentryMan requested a review from rbygrave July 3, 2025 17:59
@SentryMan SentryMan self-assigned this Jul 3, 2025
@SentryMan SentryMan added the enhancement New feature or request label Jul 3, 2025
@SentryMan SentryMan enabled auto-merge (squash) July 3, 2025 18:02
@SentryMan SentryMan merged commit 3f441be into avaje:master Jul 7, 2025
5 checks passed
@SentryMan SentryMan deleted the simplify-path branch July 7, 2025 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants