优化结构

This commit is contained in:
Yvan
2026-08-22 17:43:14 +08:00
parent 491ed21d48
commit 44ab14448a
14 changed files with 413 additions and 430 deletions
+5
View File
@@ -8,5 +8,10 @@ grouped by role:
- `router/`: resource route registration and the system route registrar
- `httpx/`: system adapter for shared response and cookie helpers
Cross-cutting route policy lives in `internal/routecatalog`: public/private
Swagger security, operation-audit flags, sensitive request-body handling and
API group/description metadata must be declared there. Router contract tests
keep the catalog aligned with the Gin registrations.
Keep new files in the matching role directory instead of adding transport files
to the root package.