|
39 | 39 |
|
40 | 40 | /**
|
41 | 41 | * The type Spring doc utils.
|
| 42 | + * |
42 | 43 | * @author bnasslahsen
|
43 | 44 | */
|
44 | 45 | public class SpringDocUtils {
|
@@ -334,22 +335,44 @@ public SpringDocUtils setModelAndViewClass(Class<?> clazz) {
|
334 | 335 | /**
|
335 | 336 | * Remove from schema map spring doc utils.
|
336 | 337 | *
|
337 |
| - * @param clazzs the clazzs |
| 338 | + * @param clazz the clazz |
338 | 339 | * @return the spring doc utils
|
339 | 340 | */
|
340 |
| - public SpringDocUtils removeFromSchemaMap(Class<?> clazzs) { |
341 |
| - AdditionalModelsConverter.removeFromSchemaMap(clazzs); |
| 341 | + public SpringDocUtils removeFromSchemaMap(Class<?> clazz) { |
| 342 | + AdditionalModelsConverter.removeFromSchemaMap(clazz); |
342 | 343 | return this;
|
343 | 344 | }
|
344 | 345 |
|
345 | 346 | /**
|
346 | 347 | * Remove from schema class spring doc utils.
|
347 | 348 | *
|
348 |
| - * @param clazzs the clazzs |
| 349 | + * @param clazz the clazz |
| 350 | + * @return the spring doc utils |
| 351 | + */ |
| 352 | + public SpringDocUtils removeFromSchemaClass(Class<?> clazz) { |
| 353 | + AdditionalModelsConverter.removeFromClassMap(clazz); |
| 354 | + return this; |
| 355 | + } |
| 356 | + |
| 357 | + /** |
| 358 | + * Add java type to ignore spring doc utils. |
| 359 | + * |
| 360 | + * @param clazz the clazz |
| 361 | + * @return the spring doc utils |
| 362 | + */ |
| 363 | + public SpringDocUtils addJavaTypeToIgnore(Class<?> clazz) { |
| 364 | + ConverterUtils.addJavaTypeToIgnore(clazz); |
| 365 | + return this; |
| 366 | + } |
| 367 | + |
| 368 | + /** |
| 369 | + * Remove java type to ignore spring doc utils. |
| 370 | + * |
| 371 | + * @param clazz the clazz |
349 | 372 | * @return the spring doc utils
|
350 | 373 | */
|
351 |
| - public SpringDocUtils removeFromSchemaClass(Class<?> clazzs) { |
352 |
| - AdditionalModelsConverter.removeFromClassMap(clazzs); |
| 374 | + public SpringDocUtils removeJavaTypeToIgnore(Class<?> clazz) { |
| 375 | + ConverterUtils.removeJavaTypeToIgnore(clazz); |
353 | 376 | return this;
|
354 | 377 | }
|
355 | 378 | }
|
|
0 commit comments