diff --git a/playground/nitro.config.ts b/playground/nitro.config.ts index a763adbd67..41776090ae 100644 --- a/playground/nitro.config.ts +++ b/playground/nitro.config.ts @@ -1 +1,5 @@ -export default defineNitroConfig({}); \ No newline at end of file +export default defineNitroConfig({ + experimental: { + openAPI: true, + } +}); diff --git a/src/runtime/routes/scalar.ts b/src/runtime/routes/scalar.ts index 9a07871caf..5d0fef3680 100644 --- a/src/runtime/routes/scalar.ts +++ b/src/runtime/routes/scalar.ts @@ -13,6 +13,9 @@ export default eventHandler((event) => { ${title} +