|
38 | 38 |
|
39 | 39 | /**
|
40 | 40 | * The type Spring doc config properties.
|
| 41 | + * |
41 | 42 | * @author bnasslahsen
|
42 | 43 | */
|
43 | 44 | @Lazy(false)
|
@@ -196,6 +197,38 @@ public class SpringDocConfigProperties {
|
196 | 197 | */
|
197 | 198 | private SortConverter sortConverter = new SortConverter();
|
198 | 199 |
|
| 200 | + /** |
| 201 | + * The Nullable request parameter enabled. |
| 202 | + */ |
| 203 | + private boolean nullableRequestParameterEnabled; |
| 204 | + |
| 205 | + /** |
| 206 | + * Gets override with generic response. |
| 207 | + * |
| 208 | + * @return the override with generic response |
| 209 | + */ |
| 210 | + public Boolean getOverrideWithGenericResponse() { |
| 211 | + return overrideWithGenericResponse; |
| 212 | + } |
| 213 | + |
| 214 | + /** |
| 215 | + * Is nullable request parameter enabled boolean. |
| 216 | + * |
| 217 | + * @return the boolean |
| 218 | + */ |
| 219 | + public boolean isNullableRequestParameterEnabled() { |
| 220 | + return nullableRequestParameterEnabled; |
| 221 | + } |
| 222 | + |
| 223 | + /** |
| 224 | + * Sets nullable request parameter enabled. |
| 225 | + * |
| 226 | + * @param nullableRequestParameterEnabled the nullable request parameter enabled |
| 227 | + */ |
| 228 | + public void setNullableRequestParameterEnabled(boolean nullableRequestParameterEnabled) { |
| 229 | + this.nullableRequestParameterEnabled = nullableRequestParameterEnabled; |
| 230 | + } |
| 231 | + |
199 | 232 | /**
|
200 | 233 | * Is default support form data boolean.
|
201 | 234 | *
|
@@ -252,6 +285,7 @@ public void setShowSpringCloudFunctions(boolean showSpringCloudFunctions) {
|
252 | 285 |
|
253 | 286 | /**
|
254 | 287 | * Is default flat param object
|
| 288 | + * |
255 | 289 | * @return the boolean
|
256 | 290 | */
|
257 | 291 | public boolean isDefaultFlatParamObject() {
|
@@ -768,6 +802,7 @@ public void setPreLoadingEnabled(boolean preLoadingEnabled) {
|
768 | 802 |
|
769 | 803 | /**
|
770 | 804 | * The type Model converters.
|
| 805 | + * |
771 | 806 | * @author bnasslashen
|
772 | 807 | */
|
773 | 808 | public static class ModelConverters {
|
@@ -844,6 +879,7 @@ public void setPolymorphicConverter(PolymorphicConverter polymorphicConverter) {
|
844 | 879 |
|
845 | 880 | /**
|
846 | 881 | * The type Sort converter.
|
| 882 | + * |
847 | 883 | * @author daniel -shuy
|
848 | 884 | */
|
849 | 885 | public static class SortConverter {
|
@@ -874,6 +910,7 @@ public void setEnabled(boolean enabled) {
|
874 | 910 |
|
875 | 911 | /**
|
876 | 912 | * The type Deprecating converter.
|
| 913 | + * |
877 | 914 | * @author bnasslashen
|
878 | 915 | */
|
879 | 916 | public static class DeprecatingConverter {
|
@@ -934,6 +971,7 @@ public void setEnabled(boolean enabled) {
|
934 | 971 |
|
935 | 972 | /**
|
936 | 973 | * The type Pageable converter.
|
| 974 | + * |
937 | 975 | * @author bnasslashen
|
938 | 976 | */
|
939 | 977 | public static class PageableConverter {
|
@@ -965,6 +1003,7 @@ public void setEnabled(boolean enabled) {
|
965 | 1003 |
|
966 | 1004 | /**
|
967 | 1005 | * The type Webjars.
|
| 1006 | + * |
968 | 1007 | * @author bnasslahsen
|
969 | 1008 | */
|
970 | 1009 | public static class Webjars {
|
@@ -994,6 +1033,7 @@ public void setPrefix(String prefix) {
|
994 | 1033 |
|
995 | 1034 | /**
|
996 | 1035 | * The type Api docs.
|
| 1036 | + * |
997 | 1037 | * @author bnasslahsen
|
998 | 1038 | */
|
999 | 1039 | public static class ApiDocs {
|
@@ -1117,11 +1157,11 @@ public void setVersion(OpenApiVersion version) {
|
1117 | 1157 | */
|
1118 | 1158 | public enum OpenApiVersion {
|
1119 | 1159 | /**
|
1120 |
| - *Openapi 3.0.1 version. |
| 1160 | + * Openapi 3.0.1 version. |
1121 | 1161 | */
|
1122 | 1162 | OPENAPI_3_0("3.0.1"),
|
1123 | 1163 | /**
|
1124 |
| - *Openapi 3.1.0 version. |
| 1164 | + * Openapi 3.1.0 version. |
1125 | 1165 | */
|
1126 | 1166 | OPENAPI_3_1("3.1.0");
|
1127 | 1167 |
|
@@ -1153,6 +1193,7 @@ public String getVersion() {
|
1153 | 1193 |
|
1154 | 1194 | /**
|
1155 | 1195 | * The type Groups.
|
| 1196 | + * |
1156 | 1197 | * @author bnasslahsen
|
1157 | 1198 | */
|
1158 | 1199 | public static class Groups {
|
@@ -1183,6 +1224,7 @@ public void setEnabled(boolean enabled) {
|
1183 | 1224 |
|
1184 | 1225 | /**
|
1185 | 1226 | * The type Cache.
|
| 1227 | + * |
1186 | 1228 | * @author bnasslahsen
|
1187 | 1229 | */
|
1188 | 1230 | public static class Cache {
|
@@ -1212,6 +1254,7 @@ public void setDisabled(boolean disabled) {
|
1212 | 1254 |
|
1213 | 1255 | /**
|
1214 | 1256 | * The type Group config.
|
| 1257 | + * |
1215 | 1258 | * @author bnasslahsen
|
1216 | 1259 | */
|
1217 | 1260 | public static class GroupConfig {
|
|
0 commit comments