Skip to content

Document Spring HTTP interface clients - #15996

Merged
jamesfredley merged 1 commit into
8.0.xfrom
docs/http-exchange-clients
Jul 21, 2026
Merged

Document Spring HTTP interface clients#15996
jamesfredley merged 1 commit into
8.0.xfrom
docs/http-exchange-clients

Conversation

@jamesfredley

Copy link
Copy Markdown
Contributor

Summary

  • document Spring Framework 7 HTTP interface clients in the REST guide
  • cover @HttpExchange interfaces, manual synchronous RestClient proxies, grouped bean registration via @ImportHttpServices, and the reactive WebClient alternative
  • explicitly frame this as a Spring client API, not a Grails DSL, with error/null limitations

Verification

  • :grails-doc:publishGuide -x aggregateGroovydoc
  • git diff --check

This is an AI-generated starting point for documenting Spring HTTP interface clients.

Assisted-by: opencode:gpt-5.6-sol

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds REST guide documentation for using Spring Framework 7 HTTP interface clients alongside the existing Micronaut HTTP Client guidance, clarifying that this is a Spring client API (not a Grails-specific DSL) and outlining synchronous and reactive options.

Changes:

  • Documented @HttpExchange / @GetExchange-based HTTP interface clients.
  • Added examples for manual proxy creation via RestClient + HttpServiceProxyFactory.
  • Documented grouped bean registration via @ImportHttpServices, plus a note on WebClient for reactive return types and default error/null behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.1252%. Comparing base (b980413) to head (1593859).

Additional details and impacted files

Impacted file tree graph

@@               Coverage Diff                @@
##             8.0.x     #15996         +/-   ##
================================================
+ Coverage         0   51.1252%   +51.1252%     
- Complexity       0      17601      +17601     
================================================
  Files            0       2041       +2041     
  Lines            0      95493      +95493     
  Branches         0      16587      +16587     
================================================
+ Hits             0      48821      +48821     
- Misses           0      39386      +39386     
- Partials         0       7286       +7286     

see 2041 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@testlens-app

testlens-app Bot commented Jul 17, 2026

Copy link
Copy Markdown

✅ All tests passed ✅

🏷️ Commit: 1593859
▶️ Tests: 25968 executed
⚪️ Checks: 60/60 completed


Learn more about TestLens at testlens.app.

@jamesfredley
jamesfredley merged commit e7bad9c into 8.0.x Jul 21, 2026
62 of 63 checks passed
@jamesfredley
jamesfredley deleted the docs/http-exchange-clients branch July 21, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants