codegen_render_controller
Renders a Spring REST Controller with @RestController and Bean Validation. Requires a template context from codegen_build_context.
Instructions
渲染 REST Controller(@RestController + Bean Validation)。需要先调用 codegen_build_context 获取 context。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| context | Yes | 从 codegen_build_context 返回的完整模板上下文 dict。包含 className/columns/primaryKeyType/templateCategory 等字段。LLM 应原样传递,可在传入前修改字段以重新渲染。 |