Skip to content

Query Parameters of type integer in format int64 seem to create a broken rest easy API #8986

@lucafuji2

Description

@lucafuji2
Description

Very similar to #1226, but for rest easy instead.
Created a API Spec with a query parameter of type integer, with format int64 which results to Long in Java. Leads to a broken resteasy Api with the following signature:
@DefaultValue("0l") @QueryParam("offset") Long offset,

openapi-generator version

5.1.0

causing the problem (line of code or commit), or simply make a suggestion -->
remove the suffix for long, float, double etc, as in
#4969
https://github.com/OpenAPITools/openapi-generator/pull/4969/files#diff-9de34b4aad5de707e8aa0c031f20a6573f8f50826a437f0652c54b3788b37d41R869

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions