Skip to content

GetModel is not generated for getCollection if getEntity is not using json representation #226

@mnembrini

Description

@mnembrini

Describe the bug

When GET_COLLECTION is present with a json representatino but GET_ENTITY is not using json representation, then
the Model class is not generated, but it is needed.

To Reproduce
Steps to reproduce the behavior:
Check out branch /bug/missing_model and gradle clean generateRestArtifacts compileJava. Note the compilation error due to the missing Model class

Expected behavior
The Model class is generated

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions