Skip to content

[BUG] Java oneof Classes are not generated #7256

@neopaf

Description

@neopaf
Description

(Thanks for fantastic tool!)

I expect OneOfGeographicLocationGeographicLocationRef.java be created.

Actual: no such file is generated

openapi-generator version

Tried with

  • 4.3.1
  • openapi-generator-cli-5.0.0-20200813.162255-527.jar
OpenAPI declaration file content or url

Swagger.json.txt

Generation Details
openapi-generator  generate -I Swagger.json.txt -g jaxrs-cxf-client 
Steps to reproduce

Run above command, you'll get
src/gen/java/org/openapitools/model/GeographicLocation.java
which contains

import org.openapitools.model.OneOfGeographicLocationGeographicLocationRef;

But no such class was generated.

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