Skip to content

Commit 9378350

Browse files
author
m2
committed
format doc
1 parent f7629c1 commit 9378350

File tree

3 files changed

+207
-190
lines changed

3 files changed

+207
-190
lines changed

springdoc-openapi-starter-common/src/main/java/org/springdoc/core/customizers/DelegatingMethodParameterCustomizer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
/**
3535
* The interface Delegating method parameter customizer.
36+
* @author dyun
3637
*/
3738
@FunctionalInterface
3839
public interface DelegatingMethodParameterCustomizer {
@@ -42,8 +43,7 @@ public interface DelegatingMethodParameterCustomizer {
4243
*
4344
* @param originalParameter the original parameter
4445
* @param methodParameters the exploded parameters
45-
* @return the list
46-
*/
46+
*/
4747
@Nullable
4848
default void customizeList(MethodParameter originalParameter, List<MethodParameter> methodParameters) {
4949
methodParameters.forEach(parameter -> customize(originalParameter, parameter));

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,9 @@ public Parameter buildParam(ParameterInfo parameterInfo, Components components,
614614
/**
615615
* Apply bean validator annotations.
616616
*
617-
* @param parameter the parameter
618-
* @param annotations the annotations
617+
* @param methodParameter the method parameter
618+
* @param parameter the parameter
619+
* @param annotations the annotations
619620
* @param isParameterObject the is parameter object
620621
*/
621622
public void applyBeanValidatorAnnotations(final MethodParameter methodParameter, final Parameter parameter, final List<Annotation> annotations, final boolean isParameterObject) {
@@ -798,7 +799,9 @@ else if (requestBody.content().length > 0)
798799
}
799800

800801
/**
801-
* @deprecated use {@link SchemaUtils#hasNotNullAnnotation(Collection)}
802+
* deprecated use {@link SchemaUtils#hasNotNullAnnotation(Collection)}
803+
* @param annotationSimpleNames the annotation simple names
804+
* @return boolean
802805
*/
803806
@Deprecated(forRemoval = true)
804807
public static boolean hasNotNullAnnotation(Collection<String> annotationSimpleNames) {

0 commit comments

Comments
 (0)