@Test
  void slashAreEncodedWhenNeeded() throws Exception {
    MethodMetadata md =
        parseAndValidateMetadata(SlashNeedToBeEncoded.class, "getQueues", String.class);

    assertThat(md.template().decodeSlash()).isFalse();

    md = parseAndValidateMetadata(SlashNeedToBeEncoded.class, "getZone", String.class);

    assertThat(md.template().decodeSlash()).isTrue();
  }
Body type is only for the body param.
core/src/test/java/feign/DefaultContractTest.java