Skip to content

Null/Empty body param mapped to empty string ("") #1859

@csisy

Description

@csisy

We have a controller method like this: public void foo(String theBodyParam) {}

If we call the endpoint of this function (eg. from Postman) with empty/none/null body, the theBodyParam should be null but it is an empty string ("") instead.

Is this a bug or an intended feature?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions