Class PathItemUtils
java.lang.Object
com.github.chhorz.openapi.spring.util.AbstractMergeUtils
com.github.chhorz.openapi.spring.util.PathItemUtils
Utility class to merge OpenAPI
PathItemObject
.- Author:
- chhorz
-
Field Summary
Fields inherited from class com.github.chhorz.openapi.spring.util.AbstractMergeUtils
logUtils
-
Constructor Summary
ConstructorDescriptionPathItemUtils
(LogUtils logUtils) Creates a new instance of this utility class with the given logger. -
Method Summary
Modifier and TypeMethodDescriptionmergePathItems
(PathItemObject pathItemOne, PathItemObject pathItemTwo) Merges the givenPathItemObject
s and all of their internal components.Methods inherited from class com.github.chhorz.openapi.spring.util.AbstractMergeUtils
mergeDescription, mergeSummary
-
Constructor Details
-
PathItemUtils
Creates a new instance of this utility class with the given logger.- Parameters:
logUtils
- the given logger instance
-
-
Method Details
-
mergePathItems
Merges the givenPathItemObject
s and all of their internal components.- Parameters:
pathItemOne
- the first path item instancepathItemTwo
- the second path item instance- Returns:
- a new instance with data from both path items
-