} else if (firstParameter.getType().equals(RakamHttpRequest.class)) {
readImplicitParameters(method, operation);
} else {
throw new IllegalStateException(String.format("Method for api endpoint %s is not valid. The parameters must either have @ApiParam annotations, " +
"or a single parameter that has @BodyParam annotation or a single parameter that is RakamHttpRequest class.",
<BUG>method.getDeclaringClass().getName()+"."+method.getName()));
</BUG>
}
<BUG>} else
if(explicitType != null) {
</BUG>
Property property = modelConverters.readAsProperty(explicitType);

} else if (firstParameter.getType().equals(RakamHttpRequest.class)) {
readImplicitParameters(method, operation);
} else {
throw new IllegalStateException(String.format("Method for api endpoint %s is not valid. The parameters must either have @ApiParam annotations, " +
"or a single parameter that has @BodyParam annotation or a single parameter that is RakamHttpRequest class.",
method.getDeclaringClass().getName() + "." + method.getName()));
}
} else if (explicitType != null) {
Property property = modelConverters.readAsProperty(explicitType);
