ojoanalogo / nestjs-redoc

📘 ReDoc frontend for you NestJS swagger API documentation
MIT License
145 stars 56 forks source link

fix: load swagger file from relative path #31

Open mo4islona opened 3 years ago

mo4islona commented 3 years ago

Fixes #32

ojoanalogo commented 3 years ago

Hello, running the project with this changes breaks the ReDoc view when you are not working with a nginx server We might need to do some adjustements like an option to toggle and load the file from a relative path

mo4islona commented 3 years ago

Nice idea. Will update PR

mo4islona commented 2 years ago

I've found that easiest way is to redirect to path with trailing slash.

Also I migrate to joi package, @hapi/joi is deprecated now

And i've bumped up rxjs to 7 version — Nestjs 8 requires rxjs 7

Azuka commented 2 years ago

Just checking: when can this be released?

mo4islona commented 2 years ago

Just checking: when can this be released?

https://www.npmjs.com/package/@mo4islona/nestjs-redoc

:)