private static void mergeApiQueryParamDoc(ApiQueryParam apiQueryParam, ApiParamDoc apiParamDoc) {
		if (apiQueryParam != null) {
			if (apiParamDoc.getName().trim().isEmpty()) {
				apiParamDoc.setName(apiQueryParam.name());
			}
			apiParamDoc.setDescription(apiQueryParam.description());
			apiParamDoc.setAllowedvalues(apiQueryParam.allowedvalues());
			apiParamDoc.setFormat(apiQueryParam.format());
		}
	}
private static void mergeApiQueryParamDoc ( ApiQueryParam apiQueryParam , ApiParamDoc apiParamDoc ) { if ( apiQueryParam != null ) { if ( apiParamDoc . getName ( ) . trim ( ) . isEmpty ( ) ) { apiParamDoc . setName ( apiQueryParam . name ( ) ) ; } apiParamDoc . setDescription ( apiQueryParam . description ( ) ) ; apiParamDoc . setAllowedvalues ( apiQueryParam . allowedvalues ( ) ) ; apiParamDoc . setFormat ( apiQueryParam . format ( ) ) ; } }
Available properties that can be overridden: name, description, required,
allowedvalues, format, defaultvalue. Name is overridden only if it's empty
in the apiParamDoc argument. Description, format and allowedvalues are
copied in any case Default value and required are not overridden: in any
case they are coming from the default values of @RequestParam

@param apiQueryParam
@param apiParamDoc