Regenerate openapi.json after RBAC/OIDC API changes #47

Open
opened 2026-03-14 12:39:17 +01:00 by claude · 0 comments
Owner

Context

The RBAC + OIDC commit (a4de2a7) added new API endpoints:

  • GET /api/v1/auth/oidc/config
  • POST /api/v1/auth/oidc/callback
  • GET /api/v1/admin/users
  • GET /api/v1/admin/users/{userId}
  • PUT /api/v1/admin/users/{userId}/roles
  • DELETE /api/v1/admin/users/{userId}

The openapi.json and generated TypeScript API types need to be updated.

Steps

  1. Start the server locally
  2. curl http://localhost:8081/api/v1/api-docs > ui/src/api/openapi.json
  3. cd ui && npm run generate-api
  4. Commit the updated types
## Context The RBAC + OIDC commit (a4de2a7) added new API endpoints: - `GET /api/v1/auth/oidc/config` - `POST /api/v1/auth/oidc/callback` - `GET /api/v1/admin/users` - `GET /api/v1/admin/users/{userId}` - `PUT /api/v1/admin/users/{userId}/roles` - `DELETE /api/v1/admin/users/{userId}` The openapi.json and generated TypeScript API types need to be updated. ## Steps 1. Start the server locally 2. `curl http://localhost:8081/api/v1/api-docs > ui/src/api/openapi.json` 3. `cd ui && npm run generate-api` 4. Commit the updated types
Sign in to join this conversation.