quarkus: problem using quarkus-resteasy-reactive-kotlin-serialization with AwsProxyRequestContext

Hi All,

I’m trying to use quarkus-resteasy-reactive-kotlin-serialization on a Kotlin jax-rs reactive endpoint deployed on AWS. Below the method signature:

  @POST
  @Path("/send")
  fun signUp(request: RegistrationRequest, @Context context: AwsProxyRequestContext): RegistrationResult? =
      service.signUp(request, awsRequestId = request.requestId)

Unfortunately, Quarkus returns Bad request when trying to call this endpoint from APIGateway test page. No error is shown since quarkus itself intercept the request without accessing the method body.

After some trials, I managed to be able to access the context object by using quarkus-resteasy-jackson (so, no kotlin-serialization nor reactive), but this is not what I want to obtain.

Am I missing something?

Thanks for all your work!!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Yes, Jackson is the only tested way to deserialize input for quarkus-amazon-lambda-rest

Do you think it could work?

Can’t say since I’ve never tried something like that. @evanchooly might now more