skillhub/server/skillhub-app/src
yun-zhi-ztl 556d556724 fix(token): align revoke endpoint with 204 contract
Change DELETE /api/v1/tokens/{id} to return HTTP 204 No Content so the backend matches the existing OpenAPI contract and the frontend delete flow no longer rejects successful revocations.

Add a controller regression test that verifies the endpoint returns 204 with an empty body and still delegates the revoke call to ApiTokenService. Verified with the targeted TokenControllerTest plus full server mvn test.
2026-03-13 11:49:57 +08:00
..
main fix(token): align revoke endpoint with 204 contract 2026-03-13 11:49:57 +08:00
test fix(token): align revoke endpoint with 204 contract 2026-03-13 11:49:57 +08:00