ContributionsMost RecentMost LikesSolutionsRe: Swagger UI- Swagger UI is Sending Blank RequestBody Even though it is specified as optional Hi RonRatovsky Have gone through the link you provided and found the exact version of swagger-ui in js file. Below is the version that is used v2.2.6 Re: Swagger UI- Swagger UI is Sending Blank RequestBody Even though it is specified as optional Hi Below are the swagger versions that iam using in my spring boot application "io.springfox:springfox-swagger2:2.4.0" 'io.springfox:springfox-swagger-ui:2.4.0' Re: Swagger UI- Swagger UI is Sending Blank RequestBody Even though it is specified as optional Iam using 2.4.0 Swagger UI- Swagger UI is Sending Blank RequestBody Even though it is specified as optional Hi All, I have written a post request which is accepting requestbody as false. @PostMapping(value = "/testPost") @ResponseStatus(ACCEPTED) @ApiOperation(value = "Testing post", notes = "") public void testPost(@RequestBody(required = false) @Valid Pojo pojo, @RequestHeader(value = "type") String type) { } When iam trying to hit the endpoint using swagger-ui,swagger is sending an empty request body as shown below '{}'. curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'type: test' -d '{}' 'http://localhost:8080/testpost' Seems like there is issue with swagger UI while handling if requestbody is false. Any inputs or have faced similar kind of issue?