Skip to content

[BUG] generator java/spring-mvc doesnt handle allOf well #2692

@manuelhartl

Description

@manuelhartl

Bug Report Checklist

Description

Generated class doesnt conist of all specified statements, e.g.:
request:
allOf:
- $ref: '#/components/schemas/first'
- $ref: '#/components/schemas/second'

-> resulting class only contains the first reference !

openapi-generator version

3.3.4
(4.0.0beta3 doesnt even produce correct classes that compile, because of a different problem with OneOf)

OpenAPI declaration file content or url
Command line used for generation
Steps to reproduce
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