Skip to content

Conversation

@erunion
Copy link
Member

@erunion erunion commented Oct 24, 2023

🧰 Changes

Slightly refactors the work I did in #783 to remove our dependency on @readme/oas-to-har in api. Because we already depend on this library in core it's easier to have a method for generating a HAR object from the spec we're using there instead of having oas-to-har as a full dependency in api.

Proof that this all still works:

Screen Shot 2023-10-24 at 2 49 24 PM

@erunion erunion added refactor Issues about tackling technical debt area:api Issues related to the `api` CLI, which builds the SDKs labels Oct 24, 2023
@erunion erunion requested a review from kanadgupta October 24, 2023 21:49
@erunion erunion marked this pull request as ready for review October 24, 2023 22:54
}
}

// @ts-expect-error `this.auth` typing is off. FIXME
Copy link
Contributor

Choose a reason for hiding this comment

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

oh hell yeah

Copy link
Member Author

Choose a reason for hiding this comment

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

turns out the problem was that i wasn't casting some numbers as a string with String()

@erunion erunion merged commit 13a70ae into main Oct 24, 2023
@erunion erunion deleted the chore/refactor-har-handling branch October 24, 2023 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:api Issues related to the `api` CLI, which builds the SDKs refactor Issues about tackling technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants