swagger-parser
swagger-parser copied to clipboard
Resolve Request body
When I use this to parse my swagger file. How can I get the request body string just like the example on swagger-ui

OpenAPI result = new OpenAPIV3Parser().read("swagger.yaml");
When I code like above. I find the pathItems of the result don't contains example String in the requestBody .