nestjs-redoc icon indicating copy to clipboard operation
nestjs-redoc copied to clipboard

fix: load swagger file from relative path

Open mo4islona opened this issue 3 years ago • 5 comments

Fixes #32

mo4islona avatar Apr 28 '21 18:04 mo4islona

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

ojoanalogo avatar Apr 29 '21 22:04 ojoanalogo

Nice idea. Will update PR

mo4islona avatar Apr 30 '21 10:04 mo4islona

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

mo4islona avatar Aug 12 '21 10:08 mo4islona

Just checking: when can this be released?

Azuka avatar Oct 14 '21 21:10 Azuka

Just checking: when can this be released?

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

:)

mo4islona avatar Oct 15 '21 00:10 mo4islona