nuxt-open-fetch icon indicating copy to clipboard operation
nuxt-open-fetch copied to clipboard

Use openapi in project root with Nuxt 4 layout

Open IlyaSemenov opened this issue 8 months ago • 0 comments

With Nuxt 4 layout enabled with future: { compatibilityVersion: 4 } in nuxt.config.ts, which features separate app/ and server/ root directories, I would expect nuxt-open-fetch to pull openapi.yaml from openapi/pets/openapi.yaml, as it provides both client-side and Nitro server integration.

Currently, nuxt-open-fetch looks for app/openapi/pets/openapi.yaml, which is counterintuitive.

IlyaSemenov avatar Apr 08 '25 06:04 IlyaSemenov