The Fastify rotue configurations for this API, including the handler and additional options
Example:
const myApi = { ... } as const satisfies FastifyApi;const myApiHandlers: RouteHandlers<typeof myApi> = { "/v1/somethings": { post: { handler: async ({ body }, reply) => { ... }, options: { ... } }, },}; Copy
const myApi = { ... } as const satisfies FastifyApi;const myApiHandlers: RouteHandlers<typeof myApi> = { "/v1/somethings": { post: { handler: async ({ body }, reply) => { ... }, options: { ... } }, },};
The API specification
The Fastify rotue configurations for this API, including the handler and additional options
Example: