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
  • #10298
Closed
Open
Issue created Aug 31, 2021 by Administrator@rootContributor

[BUG] java-vertx-web uses internal HttpStatusException vertx class

Created by: indiketa

The vertx generator is using io.vertx.ext.web.handler.impl.HttpStatusException in each method default implementation.

example:

import io.vertx.ext.web.handler.impl.HttpStatusException;

import java.util.List;
import java.util.Map;

// Implement this class

public class BusinessApiImpl implements BusinessApi {
    public Future<ApiResponse<Void>> deleteCompanyId(String q, Integer id) {
        return Future.failedFuture(new HttpStatusException(501));
    }

This class was internal: Since vertx 4.1 this class is part of vertx official API and has changed to io.vertx.ext.web.handler.HttpException, code generated with java-vertx-web is uncompilable in the stable vertx versions.

Assignee
Assign to
Time tracking