Andy Stoneberg
4f0a29dec0
chore(ws): update swag to 1.16.6 for required fields ( #489 )
...
- Updated swaggo/swag from v1.16.4 to v1.16.6 in go.mod and Makefile.
- Added required fields to various OpenAPI definitions in docs.go and swagger.json for better validation via `--requiredByDefault` flag
- `swag` `v1.16.6` contains a commit we authored to treat `json:omitempty` as `required: false`. That, in conjunction with `--requiredByDefault` flag, allows us to generate models with proper _required-ness_
Signed-off-by: Andy Stoneberg <astonebe@redhat.com>
2025-07-31 17:48:49 +00:00
Mohamed
a5bf4ee76c
feat(ws): add swagger api docs to backend ( #206 )
...
* Add Swagger Config
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* Removed make watch
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>
* Serve YAML API spec alongside Swagger UI
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>
* add parseDependency to swag init
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
* update http-swagger and factor handler out
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
* add swagger api path to readme
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
* regen swagger for camelCase change
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
* fix docstrings
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
---------
Signed-off-by: mohamed-ben-khemis <mohamedbenkhemiswork576@gmail.com>
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2025-03-03 02:28:36 +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
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
f852c1683e
Notebooks 2.0 // Backend // List Workspaces API ( #60 )
...
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
2024-09-23 21:54:32 +00:00
Mathew Wicks
b0af8ae418
feat(ws): use controller-runtime for backend ( #43 )
...
* feat(ws): use controller-runtime with backend
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
* revert healthcheck to normal results
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
---------
Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-09-14 20:18:24 +00:00
Eder Ignatowicz
a42f0a3e13
feat(ws): add kubernetes client to backend ( #15 )
...
* feat (ws): Backend Kubernetes client
- Creation of Kubernetes Client;
- Wrapping the client on application;
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
* Update workspaces/backend/cmd/main.go
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
* Adding .docker ignore
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
---------
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
Co-authored-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
2024-06-08 19:25:05 +00:00
Eder Ignatowicz
9a945fb4bb
feat(ws): initial commit for backend ( #7 )
...
* feat(ws): initial commit for backend
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
* Fixing docker build
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
* Fixing git ignore
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
---------
Signed-off-by: Eder Ignatowicz <ignatowicz@gmail.com>
2024-05-31 00:45:52 +00:00