Skip to content

Commit 082d1cb

Browse files
committed
refs #4878 - keep previous methods signatures for backward compatibility
1 parent ecb913b commit 082d1cb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/swagger-jaxrs2/src/main/java/io/swagger/v3/jaxrs2/util/ReaderUtils.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ public class ReaderUtils {
3636
private static final String OPTIONS_METHOD = "options";
3737
private static final String PATH_DELIMITER = "/";
3838

39+
public static List<Parameter> collectConstructorParameters(Class<?> cls, Components components, javax.ws.rs.Consumes classConsumes, JsonView jsonViewAnnotation) {
40+
return collectConstructorParameters(cls, components, classConsumes, jsonViewAnnotation, null);
41+
}
42+
43+
public static List<Parameter> collectConstructorParameters(Class<?> cls, Components components, javax.ws.rs.Consumes classConsumes, JsonView jsonViewAnnotation, Schema.SchemaResolution schemaResolution) {
44+
return collectConstructorParameters(cls, components, classConsumes, jsonViewAnnotation, schemaResolution, false);
45+
}
3946
/**
4047
* Collects constructor-level parameters from class.
4148
*

0 commit comments

Comments
 (0)