|
42 | 42 |
|
43 | 43 | /**
|
44 | 44 | * The type Spring doc config properties.
|
| 45 | + * |
45 | 46 | * @author bnasslahsen
|
46 | 47 | */
|
47 | 48 | @Lazy(false)
|
@@ -236,6 +237,47 @@ public class SpringDocConfigProperties {
|
236 | 237 | */
|
237 | 238 | private SortConverter sortConverter = new SortConverter();
|
238 | 239 |
|
| 240 | + /** |
| 241 | + * The Nullable request parameter enabled. |
| 242 | + */ |
| 243 | + private boolean nullableRequestParameterEnabled; |
| 244 | + |
| 245 | + /** |
| 246 | + * Gets override with generic response. |
| 247 | + * |
| 248 | + * @return the override with generic response |
| 249 | + */ |
| 250 | + public Boolean getOverrideWithGenericResponse() { |
| 251 | + return overrideWithGenericResponse; |
| 252 | + } |
| 253 | + |
| 254 | + /** |
| 255 | + * Sets override with generic response. |
| 256 | + * |
| 257 | + * @param overrideWithGenericResponse the override with generic response |
| 258 | + */ |
| 259 | + public void setOverrideWithGenericResponse(Boolean overrideWithGenericResponse) { |
| 260 | + this.overrideWithGenericResponse = overrideWithGenericResponse; |
| 261 | + } |
| 262 | + |
| 263 | + /** |
| 264 | + * Is nullable request parameter enabled boolean. |
| 265 | + * |
| 266 | + * @return the boolean |
| 267 | + */ |
| 268 | + public boolean isNullableRequestParameterEnabled() { |
| 269 | + return nullableRequestParameterEnabled; |
| 270 | + } |
| 271 | + |
| 272 | + /** |
| 273 | + * Sets nullable request parameter enabled. |
| 274 | + * |
| 275 | + * @param nullableRequestParameterEnabled the nullable request parameter enabled |
| 276 | + */ |
| 277 | + public void setNullableRequestParameterEnabled(boolean nullableRequestParameterEnabled) { |
| 278 | + this.nullableRequestParameterEnabled = nullableRequestParameterEnabled; |
| 279 | + } |
| 280 | + |
239 | 281 | /**
|
240 | 282 | * Is default support form data boolean.
|
241 | 283 | *
|
@@ -936,6 +978,7 @@ public void setPreLoadingEnabled(boolean preLoadingEnabled) {
|
936 | 978 |
|
937 | 979 | /**
|
938 | 980 | * The type Model converters.
|
| 981 | + * |
939 | 982 | * @author bnasslashen
|
940 | 983 | */
|
941 | 984 | public static class ModelConverters {
|
@@ -1012,6 +1055,7 @@ public void setPolymorphicConverter(PolymorphicConverter polymorphicConverter) {
|
1012 | 1055 |
|
1013 | 1056 | /**
|
1014 | 1057 | * The type Deprecating converter.
|
| 1058 | + * |
1015 | 1059 | * @author bnasslashen
|
1016 | 1060 | */
|
1017 | 1061 | public static class DeprecatingConverter {
|
@@ -1072,6 +1116,7 @@ public void setEnabled(boolean enabled) {
|
1072 | 1116 |
|
1073 | 1117 | /**
|
1074 | 1118 | * The type Pageable converter.
|
| 1119 | + * |
1075 | 1120 | * @author bnasslashen
|
1076 | 1121 | */
|
1077 | 1122 | public static class PageableConverter {
|
@@ -1103,6 +1148,7 @@ public void setEnabled(boolean enabled) {
|
1103 | 1148 |
|
1104 | 1149 | /**
|
1105 | 1150 | * The type Sort converter.
|
| 1151 | + * |
1106 | 1152 | * @author daniel -shuy
|
1107 | 1153 | */
|
1108 | 1154 | public static class SortConverter {
|
@@ -1133,6 +1179,7 @@ public void setEnabled(boolean enabled) {
|
1133 | 1179 |
|
1134 | 1180 | /**
|
1135 | 1181 | * The type Webjars.
|
| 1182 | + * |
1136 | 1183 | * @author bnasslahsen
|
1137 | 1184 | */
|
1138 | 1185 | public static class Webjars {
|
@@ -1162,6 +1209,7 @@ public void setPrefix(String prefix) {
|
1162 | 1209 |
|
1163 | 1210 | /**
|
1164 | 1211 | * The type Api docs.
|
| 1212 | + * |
1165 | 1213 | * @author bnasslahsen
|
1166 | 1214 | */
|
1167 | 1215 | public static class ApiDocs {
|
@@ -1285,11 +1333,11 @@ public void setVersion(OpenApiVersion version) {
|
1285 | 1333 | */
|
1286 | 1334 | public enum OpenApiVersion {
|
1287 | 1335 | /**
|
1288 |
| - *Openapi 3.0.1 version. |
| 1336 | + * Openapi 3.0.1 version. |
1289 | 1337 | */
|
1290 | 1338 | OPENAPI_3_0("3.0.1"),
|
1291 | 1339 | /**
|
1292 |
| - *Openapi 3.1.0 version. |
| 1340 | + * Openapi 3.1.0 version. |
1293 | 1341 | */
|
1294 | 1342 | OPENAPI_3_1("3.1.0");
|
1295 | 1343 |
|
@@ -1320,6 +1368,7 @@ public String getVersion() {
|
1320 | 1368 |
|
1321 | 1369 | /**
|
1322 | 1370 | * The type Groups.
|
| 1371 | + * |
1323 | 1372 | * @author bnasslahsen
|
1324 | 1373 | */
|
1325 | 1374 | public static class Groups {
|
@@ -1350,6 +1399,7 @@ public void setEnabled(boolean enabled) {
|
1350 | 1399 |
|
1351 | 1400 | /**
|
1352 | 1401 | * The type Cache.
|
| 1402 | + * |
1353 | 1403 | * @author bnasslahsen
|
1354 | 1404 | */
|
1355 | 1405 | public static class Cache {
|
@@ -1379,6 +1429,7 @@ public void setDisabled(boolean disabled) {
|
1379 | 1429 |
|
1380 | 1430 | /**
|
1381 | 1431 | * The type Group config.
|
| 1432 | + * |
1382 | 1433 | * @author bnasslahsen
|
1383 | 1434 | */
|
1384 | 1435 | public static class GroupConfig {
|
|
0 commit comments