feat
patch
mist
task/mist-phase4-router-registration
#1 / 1
feat(mist): phase 4 — explicit mists router registration
- Add 'mists' to _DIRECT_REGISTERED in routes/musehub/__init__.py to prevent double-registration via auto-discovery - Import api_mists_router in main.py alongside api_identities_router et al. - Call app.include_router(api_mists_router, prefix='/api', tags=['Mists']) in the explicit registration block - Add TDD test suite (10 tests) covering _DIRECT_REGISTERED membership, main.py import/include_router presence, OpenAPI schema paths, endpoint reachability, and duplicate operationId detection
All 63 mist-domain tests pass (phases 1–4).
sha256:d9306280eda9ce9e15e2327094fb38f905fe1cc00dff06b922a72edb94b90849
sha
+17
~1
symbols
sha256:138b9c0116186324a57d0dba14e0ac98ea2faba1592952f7c38f1f1fc21fd258
snapshot
+17
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes
18 symbols
+
test_mists_excluded_from_auto_discovery
method
method test_mists_excluded_from_auto_discovery L22–28
+
test_mists_router_registered_via_include_router
method
method test_mists_router_registered_via_include_router L38–45
+
test_explore_response_is_valid_json
method
async_method test_explore_response_is_valid_json L92–96
+
test_get_nonexistent_mist_returns_404_not_422
method
async_method test_get_nonexistent_mist_returns_404_not_422 L99–108
+
test_create_mist_operation_in_schema
method
async_method test_create_mist_operation_in_schema L63–69
+
test_explore_mists_operation_in_schema
method
async_method test_explore_mists_operation_in_schema L72–78
← Older
Oldest on task/mist-phase4-router-registration
All commits
Newer →
Latest on task/mist-phase4-router-registration
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:d9306280eda9ce9e15e2327094fb38f905fe1cc00dff06b922a72edb94b90849 --body "your comment"
No comments yet. Be the first to start the discussion.