notebooks/workspaces/backend/openapi
Andy Stoneberg 22c2106367 feat(ws): add @ID swag annotation for better codegen readability
- added @ID annotations for all API routes to populate operationId Swagger attribute
- split GetWorkspacesHandler into 2 separate handlers to account for @ID needing to be unique-per-route
    - GetAllWorkspacesHandler now services GET /workspaces
    - GetWorkspacesByNamespaceHandler now services GET /workspaces/{namespace}
    - non-exported getWorkspacesHandler function contains all business logic that existed in GetWorkspacesHandler
- Adjusted test cases to align with the new handler names.

Signed-off-by: Andy Stoneberg <astonebe@redhat.com>
2025-07-26 09:33:16 -04:00
..
docs.go feat(ws): add @ID swag annotation for better codegen readability 2025-07-26 09:33:16 -04:00
swagger.json feat(ws): add @ID swag annotation for better codegen readability 2025-07-26 09:33:16 -04:00