feat: react zitadel
This commit is contained in:
5
modules/account/routes/get/handle.ts
Normal file
5
modules/account/routes/get/handle.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import route from "./spec.ts";
|
||||
|
||||
export default route.handle(async ({ params }) => {
|
||||
console.log(params);
|
||||
});
|
||||
6
modules/account/routes/get/spec.ts
Normal file
6
modules/account/routes/get/spec.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { route } from "@platform/relay";
|
||||
import z from "zod";
|
||||
|
||||
export default route.get("/api/v1/account/:number").params({
|
||||
number: z.number().describe("Account number to retrieve"),
|
||||
});
|
||||
Reference in New Issue
Block a user