Open
Description
Q&A (please complete the following information)
- OS: macOS Sonoma
- Browser: Chrome
- Version: Version 132.0.6834.160
- Method of installation: yarn
- ApiDOM version: 3.0.0 & 3.0.1
- Swagger/OpenAPI version: swagger-client 3.34.0, swagger-ui-react 5.18.3
Describe the bug you're encountering
I ran both different packages in the most basic form. I have data coming in from the backend using ring-swagger-ui and all is valid. I can get the data coming back in json form as well. I've tried to use that for the app and passed in the url. Nothing else. I'm getting an error Module not found: Can't resolve './visitors/open-api-3-0/example/index.mjs'
. I've checked the package and many different versions but this file example
doesn't seem to exist.
I've tried:
- Cleaning out the cache
- Removing the node modules, yarn lock & .next files
- Updating the versions of api dom and resolving them to that package on package.json
- I've tried downgrading as well
To reproduce...
Steps to reproduce the behavior:
- npm | yarn install swagger-client or swagger-react-ui
- Import swagger
- Put component on page with url to json coming from the backend
- Save changes and open page
- See error
Expected behavior
I simply expected the base component with little tweaks to work for me.
Screenshots
