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(oas): allow skipping the Accept header inference #254

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

ostridm
Copy link
Contributor

@ostridm ostridm commented Oct 4, 2024

closes #253

@ostridm ostridm added the Type: enhancement New feature or request. label Oct 4, 2024
@ostridm ostridm requested a review from derevnjuk October 4, 2024 14:48
@ostridm ostridm self-assigned this Oct 4, 2024
Copy link

codeclimate bot commented Oct 4, 2024

Code Climate has analyzed commit 0e4f426 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 92.1% (0.0% change).

View more on Code Climate.

@ostridm ostridm enabled auto-merge (squash) October 4, 2024 15:01
packages/oas/src/converter/Converter.ts Outdated Show resolved Hide resolved
packages/oas/src/converter/Converter.ts Show resolved Hide resolved
packages/oas/tests/DefaultConverter.spec.ts Outdated Show resolved Hide resolved
@derevnjuk derevnjuk changed the title feat(oas): able to omit inferring Accept header value in favor of parameter declaration feat(oas): allow skipping the Accept header inference Oct 7, 2024
@derevnjuk derevnjuk enabled auto-merge (squash) October 7, 2024 08:00
@derevnjuk derevnjuk merged commit dbc3b45 into master Oct 7, 2024
5 checks passed
@derevnjuk derevnjuk deleted the feat_#253/ablie-to-omit-inferring-accept-header branch October 7, 2024 08:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: enhancement New feature or request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OAS: Prefer the Accept header value from parameters over the inferring from response
2 participants