Description
Currently the openapi json is hand edited in the frontend because the generated openapi spec when last checked is not entirely fitting what is actually returned by the backend.
Make sure that the server generated openapi spec matches current responses and also add a pipeline step so the frontend needs to update and regenerate the zod schemas if the backend changes.
- Also regard the case that some user responses (also includes in other entities) are filtered based on permissions so only a subset of fields is sometimes returned if the user does not have read permission on users.
Requires both backend and frontend (compare with currently checked in openapi json in frontend and which types are used).
Description
Currently the openapi json is hand edited in the frontend because the generated openapi spec when last checked is not entirely fitting what is actually returned by the backend.
Make sure that the server generated openapi spec matches current responses and also add a pipeline step so the frontend needs to update and regenerate the zod schemas if the backend changes.
Requires both backend and frontend (compare with currently checked in openapi json in frontend and which types are used).