Open dschulten opened 3 years ago
Hey @dschulten ,
thanks for reaching out!
Would you mind posting the produced OpenAPI3 yml? In your test, are you using a Spring Restdocs field descriptor to document some
?
"requestFields" : [ ],
Looks weird to me, rest seems to be fine (example is documented, definition is derived from example, although no real schema since field value/name is not there).
The OpenApi2 SwaggerUI Try Out for POST request appears to be broken, it sends an empty request body. (OpenApi3 works).
This is the resource.json:
Below is the resulting openapi2.yml. It has an empty parameter name for the body, and I suspect that this causes the problem, see https://github.com/swagger-api/swagger-ui/issues/965