fix(api): use content instead of spec.content for Scalar v1.49 API

This commit is contained in:
Siddharth Kumar Sah
2026-03-27 13:50:03 +08:00
parent 9488201806
commit 05854fd61f
+1 -3
View File
@@ -17,9 +17,7 @@ export async function docsRoutes(app: FastifyInstance): Promise<void> {
await app.register(scalarPlugin, {
routePrefix: "/api/docs",
configuration: {
spec: {
content: specContent,
},
content: specContent,
theme: "default",
customCss: `
:root {