public class MergeUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static OpenAPIImpl |
merge(OpenAPIImpl document1,
OpenAPIImpl document2)
Merges two documents and returns the result.
|
static Map |
mergeMaps(Map values1,
Map values2)
Merges two Maps.
|
static <T> T |
mergeObjects(T object1,
T object2)
Generic merge of two objects of the same type.
|
public static final OpenAPIImpl merge(OpenAPIImpl document1, OpenAPIImpl document2)
document1 - OpenAPIImpl instancedocument2 - OpenAPIImpl instancepublic static <T> T mergeObjects(T object1,
T object2)
T - Type parameterobject1 - First objectobject2 - Second objectCopyright © 2018–2020. All rights reserved.