Skip to content

Commit a0ee322

Browse files
authored
fix(openapi): use direct import instead of nitro alias (#192)
1 parent 74e2bcd commit a0ee322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export function setupKV(_nuxt: Nuxt) {
9797
export function setupOpenAPI(nuxt: Nuxt) {
9898
// Fallback to custom placeholder when openAPI is disabled
9999
nuxt.options.alias['#hub/openapi'] = nuxt.options.nitro?.experimental?.openAPI === true
100-
? '#internal/nitro/routes/openapi'
100+
? 'nitropack/runtime/routes/openapi'
101101
: resolve('./runtime/openapi/server/templates/openapi')
102102

103103
addServerScanDir(resolve('./runtime/openapi/server'))

0 commit comments

Comments
 (0)