Class AbstractMergeUtils
java.lang.Object
com.github.chhorz.openapi.spring.util.AbstractMergeUtils
- Direct Known Subclasses:
PathItemUtils
Abstract class for merging OpenAPI domain objects.
- Author:
- chhorz
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected String
mergeDescription
(String descriptionOne, String descriptionTwo) Merges two description stringsprotected String
mergeSummary
(String summaryOne, String summaryTwo) Merges two summary strings
-
Field Details
-
logUtils
-
-
Constructor Details
-
AbstractMergeUtils
-
-
Method Details
-
mergeDescription
Merges two description strings- Parameters:
descriptionOne
- description onedescriptionTwo
- description two- Returns:
- the combined description String.
-
mergeSummary
Merges two summary strings- Parameters:
summaryOne
- summary onesummaryTwo
- summary two- Returns:
- the combined summary String.
-