Adds RegisteredSpecGroupsIter so CLI consumers can range over a snapshot of the package-level spec registry without copying the slice manually.
Co-Authored-By: Virgil <virgil@lethean.io>
Prevent duplicate RouteGroup registrations from appearing multiple times in CLI-generated OpenAPI output. This keeps spec generation stable when packages register the same group more than once during init or tests.
Co-Authored-By: Virgil <virgil@lethean.io>