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
I replaced the remainder of the response by "...", because it is already clear, that this is not the spec in json, but: spec in json encoded in a json string. Response should be:
This is mostly related to your custom Json mapper configuration.
You can have a look at the discussion here, where you have sample code, if you want to change the return value: You can override the OpenApiResource as proposed.
This is mostly related to your custom Json mapper configuration.
You can have a look at the discussion here, where you have sample code, if you want to change the return value: You can override the OpenApiResource as proposed.
Version 1.4.8. Default configuration. Running:
Returns:
I replaced the remainder of the response by "...", because it is already clear, that this is not the spec in json, but: spec in json encoded in a json string. Response should be:
The problem is the content type definition and the String return type:
If Spring "knows" how to convert to Json, it will convert the returned string value to a Json string (the observed result).
A plain text content type might help, or returning the actual object when Spring knows how to convert to Json.
The text was updated successfully, but these errors were encountered: