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

feat: make proxy address customizable #909

Merged
merged 5 commits into from
Oct 17, 2024
Merged

feat: make proxy address customizable #909

merged 5 commits into from
Oct 17, 2024

Conversation

llimllib
Copy link
Contributor

@llimllib llimllib commented Oct 17, 2024

🧰 Changes

Convert proxyUrl from a boolean to a string, so now it represents the URL of the proxy server instead of an option about whether to use a proxy server or not.

This is a breaking change and oas-to-har should get a version major bump when it's released

The reason to make this change is so that I can test a beta version of try.readme.io safely in staging

🧬 QA & Testing

I added a test, but this should be a pretty minimal change

Converting proxyUrl into a string would be possibly a breaking change,
so instead I added a proxyAddress option which is a URL to use instead
of try.readme.io

The reason to make this change is so that I can test a beta version of
try.readme.io safely in staging

Bumped oas-to-har version to 23.3.0
packages/oas-to-har/package.json Outdated Show resolved Hide resolved
packages/oas-to-har/src/lib/types.ts Outdated Show resolved Hide resolved
Copy link
Member

@kanadgupta kanadgupta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

smol documentation suggestions otherwise LGTM!

packages/oas-to-har/src/lib/types.ts Outdated Show resolved Hide resolved
packages/oas-to-har/src/index.ts Outdated Show resolved Hide resolved
@llimllib llimllib merged commit 8cff2b9 into main Oct 17, 2024
6 checks passed
@llimllib llimllib deleted the add-proxy-config branch October 17, 2024 17:12
@llimllib
Copy link
Contributor Author

@kanadgupta do you want to bump the version or shall I?

@kanadgupta
Copy link
Member

@llimllib i got it! i'm going to bump some dependencies also quick

@llimllib
Copy link
Contributor Author

OK, I'd like to get it into the monorepo asap so tag me on a review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants