Skip to content

Commit 96f6707

Browse files
author
bnasslahsen
committed
Make calculateSchema method public. Fixes #455.
1 parent 6414fbe commit 96f6707

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: springdoc-openapi-common/src/main/java/org/springdoc/core/GenericResponseBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ private Type getReturnType(Method method) {
255255
return returnType;
256256
}
257257

258-
private Schema<?> calculateSchema(Components components, Type returnType, JsonView jsonView) {
258+
public Schema<?> calculateSchema(Components components, Type returnType, JsonView jsonView) {
259259
if (isVoid(returnType)) {
260260
// if void, no content
261261
return null;

0 commit comments

Comments
 (0)