We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f8c79d commit 0f2bd8aCopy full SHA for 0f2bd8a
lib/src/main/resources/handlebars/springcodegen/libraries/client/api.mustache
@@ -36,6 +36,7 @@ import org.springframework.util.StringUtils;
36
37
private final RestTemplate restTemplate;
38
39
+ @SuppressWarnings("unchecked")
40
public {{classname}}(RestTemplateBuilder builder, ListableBeanFactory factory, {{=<% %>=}}@Value("${<%vendorExtensions.x-path-variable-name%>}")<%={{ }}=%> String url) {
41
List<Function<RestTemplateBuilder, RestTemplateBuilder>> builderCustomizers = factory.getBeansOfType(Function.class).entrySet().stream()
42
.filter(e -> BeanFactoryAnnotationUtils.isQualifierMatch(s -> REST_API_QUALIFIER.equals(s) || MODULE_SPECIFIC_QUALIFIER.equals(s), e.getKey(), factory))
0 commit comments