-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't retrieve spec from a private Nexus repository #252
Comments
It's a bug/missing feature. We don't pass the redocly options when loading specs - https://github.com/rohit-gohri/redocusaurus/blob/e94fc14255993467f73f839af86af8437139293d/packages/docusaurus-plugin-redoc/src/index.ts#LL66C42-L66C42 Will have to update that |
Wow, thank you for such a quick reply. I will be waiting for the fix. |
I don't actively use this package now so it may be a while before I can fix this. But will be happy to merge a PR if you want to try your hand at it. |
No problem, we are already resolving this via a CI/CD tool but I hoped there could be a documented option working. I'm a techwriter, so it'll take some time for a PR from me to appear:) |
Can you try the test release in this PR - #264 (comment) ? |
I tried, and it worked. Thank you so much! |
Should be live in v1.5.1 |
Hello there,
I am trying to integrate an API spec from a Nexus repo via Redocusaurus.
In Docusaurus, I have the following config:
As the Nexus repo requires authentication, in the root, I have added redocly.yaml with the
resolve
object and provided credentials. But this solution still results in error 401.The logs from
NODE_DEBUG=http,http2 npm start
show that the header is empty and that the config is not attached. Though, when creating both redocly.yaml and .redocly.yaml in the project's root, I get the anticipated error.What can be the problem here?
Thank you in advance.
The text was updated successfully, but these errors were encountered: