rohit-gohri / redocusaurus

OpenAPI for Docusaurus with Redoc
https://redocusaurus.vercel.app/
MIT License
600 stars 111 forks source link

Support for Docusaurus 3.0 #313

Closed mt89vein closed 8 months ago

mt89vein commented 8 months ago

Docusaurus yesterday released 3.0 which includes support for react 18. I tried to upgrade, but I see that I get peer dependency warnings for this plugin.

Do you plan to release an update which will support docusuarus 3?

zerosoul commented 8 months ago

me too

rohit-gohri commented 8 months ago

Happy to accept any PRs that update the dependencies and peer dependencies. I personally will not be able to work on it for some time.

zabomate commented 8 months ago

@rohit-gohri please take a look at #314

rohit-gohri commented 8 months ago

Can someone install this test version - v0.0.0-test-20231104142351 and confirm if everything works?

zabomate commented 8 months ago

@rohit-gohri I have tested and it works fine for me with the test package.

rohit-gohri commented 8 months ago

Thanks @zabomate ! Released as v2.0.0

jwitz commented 7 months ago

@zabomate Did you test with specs in external URLs? When I upgraded to 2.0.0, our remote specs broke (local refs worked fine).

After upgrading, I receive the same errors as in https://github.com/rohit-gohri/redocusaurus/issues/299

rohit-gohri commented 6 months ago

@jwitz I do have a test and it is deployed - https://redocusaurus.vercel.app/examples/using-remote-url/

jwitz commented 6 months ago

Thanks for the response @rohit-gohri When I plugged in the pet store spec into our site it worked, but when I used https://api.astronomer.io/spec/platform/v1beta1 it threw the error. It looks like something in our spec might not be formatted properly, I will investigate an open a docs PR if our issue might be encountered by other developers

EDIT: If anyone comes across this issue, I found that my remote API specs didn't load on a local environment, but worked fine when deployed to Netlify.