Description of the problem/issue
Wrong schema generation of properties of type Object that are nullable.
Affected Version
2.2.47
Worked in:
2.2.28
Steps to Reproduce
public class MyDto {
@Nullable
private Object nullableObject;
public Object getNullableObject() {
return nullableObject;
}
public void setNullableObject(Object nullableObject) {
this.nullableObject = nullableObject;
}
}
Expected Behavior
"components": {
"schemas": {
"MyDto": {
"type": "object",
"properties": {
"nullableObject": {
}
}
}
}
}
Actual Behavior
"components": {
"schemas": {
"MyDto": {
"type": "object",
"properties": {
"nullableObject": {
"type": "null"
}
}
}
}
}
Additional Context
Checklist
Description of the problem/issue
Wrong schema generation of properties of type
Objectthat are nullable.Affected Version
2.2.47
Worked in:
2.2.28
Steps to Reproduce
Expected Behavior
Actual Behavior
Additional Context
Checklist