Regenerate openapi.json after RBAC/OIDC API changes #47
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The RBAC + OIDC commit (
a4de2a7) added new API endpoints:GET /api/v1/auth/oidc/configPOST /api/v1/auth/oidc/callbackGET /api/v1/admin/usersGET /api/v1/admin/users/{userId}PUT /api/v1/admin/users/{userId}/rolesDELETE /api/v1/admin/users/{userId}The openapi.json and generated TypeScript API types need to be updated.
Steps
curl http://localhost:8081/api/v1/api-docs > ui/src/api/openapi.jsoncd ui && npm run generate-api