private boolean checkRequestBodyAnnotation(MethodParameter methodParameter) {
		return methodParameter.hasParameterAnnotation(org.springframework.web.bind.annotation.RequestBody.class)
				|| methodParameter.hasParameterAnnotation(io.swagger.v3.oas.annotations.parameters.RequestBody.class)
				|| AnnotatedElementUtils.isAnnotated(Objects.requireNonNull(methodParameter.getParameter()), io.swagger.v3.oas.annotations.parameters.RequestBody.class)
				|| AnnotatedElementUtils.isAnnotated(Objects.requireNonNull(methodParameter.getMethod()), io.swagger.v3.oas.annotations.parameters.RequestBody.class);
	}
Checks whether Swagger's or Spring's RequestBody annotation is present on a parameter or method

@param methodParameter the method parameter
@return the boolean
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/service/AbstractRequestService.java