You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2019. It is now read-only.
/foo route with GET method serves two representations of the same resource, one simple and one more complex, but all with the same format (json). Both content types application/vnd.representation1+json and application/vnd.representation2+json should be defined in OAS path /foo, but only one gets picked.
There should be an iteration over multiple mime types, instead of a direct assignment. val is of type Body declared in oas-raml-converter-model which mimeType field is an optional string. This should be changed, perhaps Body.mimeTypes
oas-raml-coverter version 1.1.35
/foo
route withGET
method serves two representations of the same resource, one simple and one more complex, but all with the same format (json). Both content typesapplication/vnd.representation1+json
andapplication/vnd.representation2+json
should be defined in OAS path/foo
, but only one gets picked.Full reproduction
RAML Source
expected (oas3+json)
observed (oas3+json)
Only the last content type is picked.
The text was updated successfully, but these errors were encountered: