Skip to content

[BUG] Generated Java code is importing javax.ws.rs.core.GenericType which doesn't exist #13692

@kwalcock

Description

@kwalcock

Bug Report Checklist

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

The generated Java code includes

import javax.ws.rs.core.GenericType;

which doesn't compile.

openapi-generator version

openapi-generator-cli-6.2.0.jar

OpenAPI declaration file content or url
Generation Details

java -jar openapi-generator-cli-6.2.0.jar generate -i (input) -g java -o (output)

Steps to reproduce

Java 8.0 is being used locally.

Related issues/PRs
Suggest a fix

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