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
When an endpoint is exposed as @consumes(MediaType.MULTIPART_FORM_DATA), swagger is not generated properly. Also under Datatypes JSON, the class is not getting generated that was passed as parameter in the endpoint.
The text was updated successfully, but these errors were encountered:
For the second one I am getting docs generated as given in the image attached.. But not getting similar one for CreateDocumentInputType
Yes the createLookupEntry method "consumes" application/json, so Enunciate knows that CreateLookupEntryInputType is supposed to be serialized as JSON. The createDocument method consumes multipart/form-data, so Enunciate only knows that CreateDocumentInputType is supposed to be serialized as a string value and there's no way of knowing whether that string value should be a json string, yaml string, xml string, or something else entirely.
Am I missing something?
Also, I still need details about the reported problem of "swagger is not generated properly."
When an endpoint is exposed as @consumes(MediaType.MULTIPART_FORM_DATA), swagger is not generated properly. Also under Datatypes JSON, the class is not getting generated that was passed as parameter in the endpoint.
The text was updated successfully, but these errors were encountered: