@Test
  void resolveTemplateWithHeaderIncludingSpecialCharacters() {
    RequestTemplate template =
        new RequestTemplate()
            .method(HttpMethod.GET)
            .header("Accept", "application/vnd.github.v3+{type}");

    template = template.resolve(mapOf("type", "json"));

    assertThat(template)
        .hasHeaders(entry("Accept", Collections.singletonList("application/vnd.github.v3+json")));
  }
This ensures we don't mess up vnd types
core/src/test/java/feign/RequestTemplateTest.java