Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #8986
Closed
Open
Issue created Mar 17, 2021 by Administrator@rootContributor

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

Created by: lucafuji2

Description

Very similar to https://github.com/OpenAPITools/openapi-generator/issues/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 https://github.com/OpenAPITools/openapi-generator/pull/4969 https://github.com/OpenAPITools/openapi-generator/pull/4969/files#diff-9de34b4aad5de707e8aa0c031f20a6573f8f50826a437f0652c54b3788b37d41R869

Assignee
Assign to
Time tracking