Skip to content
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

CLI doesn't support basic authentication in the URL since 9.0.0 #1152

Closed
meshuamam opened this issue Jan 24, 2025 · 2 comments · Fixed by readmeio/oas#928 or #1153
Closed

CLI doesn't support basic authentication in the URL since 9.0.0 #1152

meshuamam opened this issue Jan 24, 2025 · 2 comments · Fixed by readmeio/oas#928 or #1153

Comments

@meshuamam
Copy link

Since this PR: #915, where the CLI moved to use oas-normalize.load, basic authentication stopped working.

That is because in oas-normalize, we use fetch directly on the URL: https://github.com/readmeio/oas/blob/main/packages/oas-normalize/src/index.ts#L66 , which doesn't support basic authentication in the URL.

@erunion erunion self-assigned this Jan 24, 2025
@erunion erunion reopened this Jan 25, 2025
kanadgupta pushed a commit that referenced this issue Jan 25, 2025
## [10.1.1-next.1](v10.1.0...v10.1.1-next.1) (2025-01-25)

### Bug Fixes

* **openapi:** adding support for OpenAPI 3.1.1, 3.0.4 and basic auth fetches ([#1153](#1153)) ([6fad02b](6fad02b)), closes [#1152](#1152)

[skip ci]
@kanadgupta
Copy link
Member

🎉 This issue has been resolved in version 10.1.1-next.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

kanadgupta pushed a commit that referenced this issue Jan 28, 2025
## [10.1.1](v10.1.0...v10.1.1) (2025-01-28)

### Bug Fixes

* **openapi:** adding support for OpenAPI 3.1.1, 3.0.4 and basic auth fetches ([#1153](#1153)) ([6fad02b](6fad02b)), closes [#1152](#1152)

[skip ci]
@kanadgupta
Copy link
Member

🎉 This issue has been resolved in version 10.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment