-
Notifications
You must be signed in to change notification settings - Fork 5
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
OAS: Missing media-type configuration leads to swagger converter error #210
Labels
Type: bug
Something isn't working.
Comments
ostridm
changed the title
Missing media-type configuration leads to converter error
OAS: Missing media-type configuration leads to swagger converter error
Sep 18, 2023
ostridm
added a commit
that referenced
this issue
Sep 19, 2023
ostridm
added a commit
that referenced
this issue
Sep 19, 2023
ostridm
added a commit
that referenced
this issue
Sep 20, 2023
ostridm
added a commit
that referenced
this issue
Sep 20, 2023
ostridm
added a commit
that referenced
this issue
Sep 20, 2023
ostridm
added a commit
that referenced
this issue
Sep 20, 2023
ostridm
added a commit
that referenced
this issue
Sep 21, 2023
ostridm
added a commit
that referenced
this issue
Sep 21, 2023
ostridm
added a commit
that referenced
this issue
Sep 21, 2023
ostridm
added a commit
that referenced
this issue
Sep 21, 2023
ostridm
added a commit
that referenced
this issue
Sep 21, 2023
ostridm
added a commit
that referenced
this issue
Sep 21, 2023
ostridm
added a commit
that referenced
this issue
Sep 21, 2023
ostridm
added a commit
that referenced
this issue
Sep 21, 2023
ostridm
added a commit
that referenced
this issue
Sep 21, 2023
ostridm
added a commit
that referenced
this issue
Sep 21, 2023
ostridm
added a commit
that referenced
this issue
Sep 21, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Converting of specification to HAR may results in error when both operation and root
consumes
nodes missing. Nearly the same case forproduces
configuration, converter may not take into account the rootproduces
configuration of the operation level configuration which overrides the root one.Here it is required to improve converter when it handles
consumes/produces
configuration.Steps to reproduce
Pass the
my-schema.yaml
(see below) to theoas2har
as follows:my-schema.yaml
Actual result
Error produced:
Expected result
Conversion performed successfully,
application-json
media type used forcontent-type
header and*/*
media type used foraccept
header.The text was updated successfully, but these errors were encountered: