Query params naming #366

Closed
opened 2024-02-19 08:27:10 +01:00 by AleksandrMishinn · 2 comments
AleksandrMishinn commented 2024-02-19 08:27:10 +01:00 (Migrated from github.com)

Hey, guys!

I've encountered a behavior where the names of the query parameters don't match the names in the specification. Could you tell me, is this how it should work or is it a bug?

This specification param
image

generates this code
image

If "name" is "my_query_param" why I have "myQueryParam" in generated code? It makes me add @QueryParam("my_query_param") everywhere in code ;(

Hey, guys! I've encountered a behavior where the names of the query parameters don't match the names in the specification. Could you tell me, is this how it should work or is it a bug? This specification param ![image](https://github.com/kokuwaio/micronaut-openapi-codegen/assets/51471511/de75e704-6803-4e82-92a9-f96635bbc25d) generates this code ![image](https://github.com/kokuwaio/micronaut-openapi-codegen/assets/51471511/2d8b53ee-c037-4ad2-b2dc-0b3de3420aec) If "name" is "my_query_param" why I have "myQueryParam" in generated code? It makes me add @QueryParam("my_query_param") everywhere in code ;(
sschnabe commented 2024-02-19 12:53:08 +01:00 (Migrated from github.com)

I'm busy right now. I got this an will response end of this week.

I'm busy right now. I got this an will response end of this week.
AleksandrMishinn commented 2024-02-19 13:05:34 +01:00 (Migrated from github.com)

Ok. Thank you for reply

Ok. Thank you for reply
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
kokuwaio/micronaut-openapi-codegen#366
No description provided.