title: multiple parameters with no annotation error on Javax WS and retrofit when I use "suspend" , how to handle?
body: <p>I am creating a very basic controller using Kotlin with javax.ws and retrofit libraries.</p>
  
  <p>I created a controller like this...</p>
  
  <pre><code>@POST
      @Consumes(MediaType.APPLICATION_JSON)
      @Produces(MediaType.APPLICATION_JSON)
      suspend fun sayHello(request: StudentRequest): StudentResponse {
  </code></pre>
  
  <p>that basically calls another service. </p>
  
  <p>But when I run the app I get this error:</p>
  
  <pre><code>[FATAL] Method public final java.lang.Object MyResource.sayHello(StudentRequest,kotlin.coroutines.Continuation) on resource class MyResource contains multiple parameters with no annotation. Unable to resolve the injection source.;
  
  
  handlerConstructors=[org.glassfish.jersey.server.model.HandlerConstructor@a0bf272]},
   definitionMethod=public final java.lang.Object my.org.package.MyResource(sayHello,k**otlin.coroutines.Continuation**), 
  </code></pre>
  
  <p>the weird part is that are couple of similar posts <a href="https://stackoverflow.com/questions/39264786/jersey-pathparam-contains-multiple-parameters-with-no-annotation">Jersey @PathParam : contains multiple parameters with no annotation</a></p>
  
  <p><a href="https://stackoverflow.com/questions/17570484/how-can-i-pass-multiple-parameter-to-restful-webservice-using-http-post">How can I pass multiple parameter to restful webservice using http post</a></p>
  
  <p><a href="https://github.com/dropwizard/dropwizard/issues/1115" rel="nofollow noreferrer">https://github.com/dropwizard/dropwizard/issues/1115</a></p>
  
  <p>but are not the same because my problem is with my <strong>ONLY</strong> parameter</p>
  
  <p>There is no missing tag to my body request and I basically dont know what to look for at this point, any idea what could be wrong with this?</p>
  
  <p>After debugging I noticed that there are two parameters, mine and one injected by Kotlin, when removing the <strong>"suspend"</strong> everything works fine, but then I am not able to make my async call.</p>