[Feature] Add OpenAPI/route collision validation #73

Closed
opened 2026-07-06 15:04:56 +02:00 by zemion · 1 comment
Owner

Imported from a backlog-like text file.

  • Source: /mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md
  • Line: 129
  • Source kind: product
  • Section: GovOPlaN Split Concept and Action Plan > Staged Refactor Plan > Phase 1: Freeze Kernel Contracts

Imported item:

Add OpenAPI/route collision validation.
<!-- codex-generic-backlog-fingerprint:2df21826b41ef3cc84cf026b --> Imported from a backlog-like text file. - Source: `/mnt/DATA/Nextcloud/ADD ideas UG/Products/govoplan/split-concept-action-plan.md` - Line: `129` - Source kind: `product` - Section: `GovOPlaN Split Concept and Action Plan > Staged Refactor Plan > Phase 1: Freeze Kernel Contracts` Imported item: ```text Add OpenAPI/route collision validation. ```
zemion added this to the Phase 1: Freeze Kernel Contracts milestone 2026-07-06 15:04:56 +02:00
zemion added the
type
feature
priority
p2
source/backlog-import
codex/ready
labels 2026-07-07 23:26:27 +02:00
zemion added the
status
triage
label 2026-07-08 02:55:18 +02:00
Author
Owner

Codex State: done

Summary

  • Added route signature validation for startup routers and live module activation.
  • Duplicate HTTP method/path pairs now fail fast before FastAPI route order can hide a collision or produce ambiguous OpenAPI output.

Changed Files

  • src/govoplan_core/server/route_validation.py
  • src/govoplan_core/server/app.py
  • src/govoplan_core/core/lifecycle.py
  • tests/test_module_system.py
  • docs/MODULE_ARCHITECTURE.md

Verification

  • bash scripts/check-focused.sh passed cleanly
## Codex State: done ### Summary - Added route signature validation for startup routers and live module activation. - Duplicate HTTP method/path pairs now fail fast before FastAPI route order can hide a collision or produce ambiguous OpenAPI output. ### Changed Files - `src/govoplan_core/server/route_validation.py` - `src/govoplan_core/server/app.py` - `src/govoplan_core/core/lifecycle.py` - `tests/test_module_system.py` - `docs/MODULE_ARCHITECTURE.md` ### Verification - `bash scripts/check-focused.sh passed cleanly`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-core#73
No description provided.