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 Jan 21, 2024. It is now read-only.
The current raml-java-client-generator only maps the lowest 2xx HTTP response in the RAML file and assumes this type is valid for all 2xx responses.
The following example will create a Java client that incorrectly maps the 201 response to a TypeA instead of a TypeB class:
The same is true for non-2xx responses.
The following example will throw an execption for a 401 response, but you will need to create the TypeB class and add the mapping yourself:
Can support for multiple responses be added to the generator?
The text was updated successfully, but these errors were encountered: