Skip to content

Generated client sends query param even if the value is null #236

@stojsavljevic

Description

@stojsavljevic

When using Spring4RestTemplateClientRule rule, generated client will add query parameter to the url even if the value is null. The problem is that a Spring controller will read the value as empty string in that case.
We should omit query parameter if the value is null.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions