Improve reference docs for setBody#3036
Conversation
- SetBodyInterceptor: add @topic, rewrite @description (trim attribute-level prose, mention template alternative, add tutorial link), add @yaml with a 3-line block scalar value example; rewrite setValue setter doc replacing the dropped @param with @description/@example; expand setContentType to document the JSON auto-escaping behaviour and the no-escaping-when-omitted consequence - AbstractLanguageInterceptor: fix @description on setLanguage (copy-paste from <if>); replace @param on setXmlConfig with @description (mirrors setHeader PR) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR updates Javadoc comments only in ChangesInterceptor Documentation Updates
Estimated code review effort: 1 (Trivial) | ~3 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/ok-to-test |
Summary
SetBodyInterceptor: add@topic, rewrite@description(static string vs computed expression, supported languages, comparison totemplatefor loops/conditionals, tutorial link); add@yamlshowing a 3-line block scalar SpEL template; replace@param-basedsetValuedoc (silently dropped by renderer) with@description/@example; expandsetContentTypeto document JSON auto-escaping and the no-escaping-when-omitted security implicationAbstractLanguageInterceptor: same corrections as Improve reference docs for setHeader, AbstractSetterInterceptor, AbstractLanguageInterceptor #3035 — fix copy-pasted@descriptiononsetLanguage, add@descriptiontosetXmlConfig(trivial conflict on merge)Test plan
mvn -q -o -pl core compilepasses (verified locally)@yamlblock scalar example is valid YAMLdistribution/tutorials/getting-started/65-SetBody.yamlmatches the documented behaviour🤖 Generated with Claude Code
Summary by CodeRabbit