Skip to content

problem using quarkus-resteasy-reactive-kotlin-serialization with AwsProxyRequestContext #23442

@Lukpier

Description

@Lukpier

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!!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions