Skip to content

Commit d593752

Browse files
committed
Fixed parameter name
1 parent 3dee577 commit d593752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

springdoc-openapi-starter-common/src/main/java/org/springdoc/core/service/AbstractRequestService.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ private boolean isRequestBodyParam(RequestMethod requestMethod, ParameterInfo pa
778778
* @param methodParameter the method parameter
779779
* @return the boolean
780780
*/
781-
private boolean checkRequestBodyAnnotation(MethodParameter methodParamater) {
781+
private boolean checkRequestBodyAnnotation(MethodParameter methodParameter) {
782782
return methodParameter.getParameterAnnotation(org.springframework.web.bind.annotation.RequestBody.class) != null
783783
|| AnnotatedElementUtils.findMergedAnnotation(Objects.requireNonNull(methodParameter.getParameter()), io.swagger.v3.oas.annotations.parameters.RequestBody.class) != null
784784
|| AnnotatedElementUtils.findMergedAnnotation(Objects.requireNonNull(methodParameter.getMethod()), io.swagger.v3.oas.annotations.parameters.RequestBody.class) != null;

0 commit comments

Comments
 (0)