refactor: identity -> iam
This commit is contained in:
10
modules/iam/routes/identities/get/spec.ts
Normal file
10
modules/iam/routes/identities/get/spec.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ForbiddenError, NotFoundError, route, UnauthorizedError } from "@platform/relay";
|
||||
import z from "zod";
|
||||
|
||||
export default route
|
||||
.get("/api/v1/identity/:id")
|
||||
.params({
|
||||
id: z.string(),
|
||||
})
|
||||
.errors([UnauthorizedError, ForbiddenError, NotFoundError])
|
||||
.response(z.any());
|
||||
Reference in New Issue
Block a user