Closed wighawag closed 3 weeks ago
Hi @wighawag , thanks for reporting!
This package is ESM-only, as it aligns to VitePress. As mentioned in the Vite documentation, the solution would be to:
"type": "module"
to the nearest package.json
(I tried this on your repo and it works fine).vite.config.js
/vite.config.ts
to vite.config.mjs
/vite.config.mts
However, while testing your repo, I also noticed an issue related to operations that don't have tags, so I've fixed that in v0.0.3-alpha.47.
You can see an example of your spec in StackBlitz.
If you encounter any other issues, feel free to open a new one. Thanks!
Thanks!
Current behavior
I just added vitepress-openapi as documented + added the markdown file
And I get many errors the last one shown being:
Desired behavior
No error
Reproduction
No response
Steps to reproduce
git clone https://github.com/wighawag/fuzd.git cd fuzd git checkout feat/vitepress-openapi pnpm i pnpm docs:build
Logs and Error Messages
No response
Other Information
No response