title: Multiple get request parameters @PathVariable and @RequestAttribute with Micronaut?
body: <p>I have a get function in my controller with differents parameters:</p>
  
  <p><strong>myinterface.java</strong>:</p>
  
  <pre><code>public interface MyInterface {
  
     @Get(value = "/bob/{name}/params?surname={surname}")
     String getMyParam (
     @Parameter(name="name", required=true)
     @PathVariable("name") String name, 
     @NotNull 
     @Parameter(name="surname", required=true) 
     @Valid 
     @RequestAttribute(value="surname") String surname) {
  
     }
  }
  </code></pre>
  
  <p><strong>mycontroller.java</strong>:</p>
  
  <pre><code>public class MyController implements MyInterface {
  
     @Override
     public String getMyParam(String name, String surname) { return name + surname; }
  }
  </code></pre>
  
  <p>But when i'm calling "<a href="http://localhost:8080/bob/marley/params?surname=lion" rel="noreferrer">http://localhost:8080/bob/marley/params?surname=lion</a>" it's send a ERROR MESSAGE: Page Not Found.</p>
  
  <p>When i'm work with optional parameters <code>/books{?max,offset}</code> it's work. Did i miss something?</p>
  
  <p>Are PathVariable and RequestAttribute not mixable while doing query requests?</p>
  
  <p><strong>EDIT 1</strong></p>
  
  <p>When i remove the <code>?surname=={surname}</code> from the @Get value it occurs an "HttpClientResponseException: Require argument [String surname] not specified".</p>