Skip to content

fix(nlab-api): support Controller paths and imported DTOs - #109

Merged
JacobZyy merged 2 commits into
mainfrom
codex/controller-mapping
Sep 29, 2026
Merged

JacobZyy merged 2 commits into
mainfrom
codex/controller-mapping

Conversation

@JacobZyy

Copy link
Copy Markdown
Owner

Controller generation stopped at ordinary path templates such as /detail/{taskId} and local string constants. Support these mappings in the Controller adapter, carry required path parameters through the shared OpenAPI and TypeScript pipeline, and match concrete paths in Mock rules.

Resolve DTOs imported through package.* before falling back to globally unique names, while preserving ambiguity and explicit qualified-name boundaries. Include the existing main worktree's Codex and JTH configuration changes.

Validation:

  • Rust formatting, Clippy with warnings denied, and 388 Rust tests passed.
  • Documentation build passed.
  • Generated all 182 endpoints from 43 Controllers in an isolated frontend worktree; TypeScript checking and four generated-client runtime tests passed.
  • The frontend test worktree was removed; no frontend test output is included.

@JacobZyy
JacobZyy merged commit f6cafca into main Sep 29, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant