Skip to content

[REQ][Java][Client][WebClient] Group Parameters as one parameter (useSingleRequestParameter) for Spring WebClient #19407

Closed
@Nicklas2751

Description

@Nicklas2751

Like for java native, okhttp and jersey add the possibility to group all parameters into one (object) when useSingleRequestParameter is set true.

Describe the solution you'd like

A class containing all parameters which is generated combined with a changed method heard when the option is set should do the trick. :)

  • And, of course, don't forget to update the options documentation when done.

Describe alternatives you've considered

/

Additional context

Example Solutions:
https://github.com/OpenAPITools/openapi-generator/blob/eda4547f151a7b5a8952387fa1cb7974c0a5e5ee/modules/openapi-generator/src/main/resources/Java/libraries/microprofile/api.mustache

https://github.com/OpenAPITools/openapi-generator/blob/eda4547f151a7b5a8952387fa1cb7974c0a5e5ee/modules/openapi-generator/src/main/resources/Java/libraries/jersey3/api.mustache

(I'll create a PR soon. This issue is mainly for me to don't forget it ^^)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions