Skip to content
This repository was archived by the owner on Jan 10, 2023. It is now read-only.
This repository was archived by the owner on Jan 10, 2023. It is now read-only.

Top level list in discovery document are not generated correctly #22

@ircecho

Description

@ircecho

In our discovery document we have lists as method return types like this:

"schemas": {
    "ListOfOrder": {
        "id": "ListOfOrder",
        "type": "array",
        "items": {
            "$ref": "Order"
        }
    },
    "...": "...",
}
"methods": {
    "list": {
        "...": "...",
        "response": {
            "$ref": "ListOfOrder"
        }
    }
}

The java client generator will happily use the type ListOfOrder like a class in many places, but will not generate the class itself, thereby yielding code, which will not even compile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions