Skip to content

[BUG][JAVA] Code generation for Vert.x does not support Vert.x 5 #23560

Closed

Description

@sjw2547

Bug Report Checklist

  • Have you provided a full/minimal spec to reproduce the issue?
  • Have you validated the input using an OpenAPI validator?
  • Have you tested with the latest master to confirm the issue still exists?
  • Have you searched for related issues/PRs?
  • What's the actual output vs expected output?
  • [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description

Method calls generated for Vert.x were deprecated in version 4 and removed in version 5

openapi-generator version

7.21.0

OpenAPI declaration file content or url

The following Maven project will generate code that will not compile if using version 7.21.0 of teh plugin.

https://github.com/sjw2547/SampleOpenApiDefinition/tree/main#

The OpenAPI yaml can be found at https://github.com/sjw2547/SampleOpenApiDefinition/blob/main/openapi-sample-idl/src/main/openapi/openapi.yaml

Generation Details

The supplied maven project will reproduce the problem with a mvn install

Steps to reproduce
  1. clone project https://github.com/sjw2547/SampleOpenApiDefinition/tree/main#
  2. change the plugin version to 7.21.0 in the parent pom
  3. run the command mvn clean install
  4. Generated code will fail to compile because Vert.x methoods no longer take a handler parameter
Related issues/PRs

None found

Activity

  1. added a commit that references this issue on Apr 15, 2026
  2. sjw2547 commented on Apr 15, 2026

    @sjw2547
    ContributorAuthor

    Pull request #23563 submitted to fix this bug

  3. added 7 commits that reference this issue on Apr 16, 2026
  4. added a commit that references this issue on Apr 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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