mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
fix(api): use content instead of spec.content for Scalar v1.49 API
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user