sailfork / t3code-github / apps/ marketing/ src/ pages/ schema/ t3.json.ts
import type { APIRoute } from "astro";
import { buildT3ProjectFileJsonSchema } from "@t3tools/shared/t3ProjectFile";
export const GET: APIRoute = () =>
new Response(`${JSON.stringify(buildT3ProjectFileJsonSchema(), null, 2)}\n`, {
headers: { "Content-Type": "application/json" },
});