@SuppressWarnings({ "rawtypes", "unchecked" })
    private void mergeComponents(Components to, Components from) {
        Map resMap = mergeMaps(to.getCallbacks(), from.getCallbacks());
        to.setCallbacks(resMap);
        resMap = mergeMaps(to.getExamples(), from.getExamples());
        to.setExamples(resMap);
        resMap = mergeMaps(to.getExtensions(), from.getExtensions());
        to.setExtensions(resMap);
        resMap = mergeMaps(to.getHeaders(), from.getHeaders());
        to.setHeaders(resMap);
        resMap = mergeMaps(to.getLinks(), from.getLinks());
        to.setLinks(resMap);
        resMap = mergeMaps(to.getParameters(), from.getParameters());
        to.setParameters(resMap);
        resMap = mergeMaps(to.getRequestBodies(), from.getRequestBodies());
        to.setRequestBodies(resMap);
        resMap = mergeMaps(to.getResponses(), from.getResponses());
        to.setResponses(resMap);
        resMap = mergeMaps(to.getSchemas(), from.getSchemas());
        to.setSchemas(resMap);
        resMap = mergeMaps(to.getSecuritySchemes(), from.getSecuritySchemes());
        to.setSecuritySchemes(resMap);
    }
@ SuppressWarnings ( { "rawtypes" , "unchecked" } ) private void mergeComponents ( Components to , Components from ) { Map resMap = mergeMaps ( to . getCallbacks ( ) , from . getCallbacks ( ) ) ; to . setCallbacks ( resMap ) ; resMap = mergeMaps ( to . getExamples ( ) , from . getExamples ( ) ) ; to . setExamples ( resMap ) ; resMap = mergeMaps ( to . getExtensions ( ) , from . getExtensions ( ) ) ; to . setExtensions ( resMap ) ; resMap = mergeMaps ( to . getHeaders ( ) , from . getHeaders ( ) ) ; to . setHeaders ( resMap ) ; resMap = mergeMaps ( to . getLinks ( ) , from . getLinks ( ) ) ; to . setLinks ( resMap ) ; resMap = mergeMaps ( to . getParameters ( ) , from . getParameters ( ) ) ; to . setParameters ( resMap ) ; resMap = mergeMaps ( to . getRequestBodies ( ) , from . getRequestBodies ( ) ) ; to . setRequestBodies ( resMap ) ; resMap = mergeMaps ( to . getResponses ( ) , from . getResponses ( ) ) ; to . setResponses ( resMap ) ; resMap = mergeMaps ( to . getSchemas ( ) , from . getSchemas ( ) ) ; to . setSchemas ( resMap ) ; resMap = mergeMaps ( to . getSecuritySchemes ( ) , from . getSecuritySchemes ( ) ) ; to . setSecuritySchemes ( resMap ) ; }
@param components
@param components2