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
Mohamed
45d778a972
feat(ws): complete api swagger documentation across workspaces, namespaces, and workspacekinds ( #235 )
...
* Add Swagger Config
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* add swag command
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* Updated swagger output
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* Updated general annotations
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* Updated swagger docs version
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* updated swagger config
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* fix confilicts
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* Add GetNamespaces Swagger Docs
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* Add Workspaces Swagger Docs
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* Add Workspaces Swagger Docs
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* Add Workspacekinds Swagger Docs
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* fix: prevent Swagger from reading TODO comment by adding a tab
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* fix: resolve double api/v1 prefix in route paths
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
---------
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
2025-05-15 16:33:23 +00:00
Mathew Wicks
e5d4e41dfe
feat(ws): add WorkspaceCreate model to backend ( #205 )
...
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-02-14 22:25:37 +00:00
Mathew Wicks
bc6f311ac6
feat(ws): add auth to backend ( #202 )
...
* feat(ws): add auth to backend
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
* add `DISABLE_AUTH` for interim testing (enabled by default)
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
---------
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-02-11 20:21:28 +00:00
Mathew Wicks
710cbd4753
feat(ws): refactor backend models and repositories ( #192 )
...
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-02-04 17:20:37 +00:00
Mathew Wicks
e920dd99de
chore: update go linting + update dependencies for controller ( #137 )
...
* chore: update controller kubebuilder
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
* chore: add new controller linting
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
* chore: update backend (similar to controller kubebuilder update)
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
* chore: add new backend linting
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
---------
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-12-02 16:56:58 +00:00
Eder Ignatowicz
2b747ac78d
feat(ws): Notebooks 2.0 // Backend // List namespaces ( #124 )
...
* feat(ws): Notebooks 2.0 // Backend // List namespaces #53
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
* adding test coverage
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
* ci: run controller and backend tests on pr
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
---------
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-11-28 00:06:54 +00:00