Skip to content

Generation fails if the response entity is a top-level array #40

@spyros87

Description

@spyros87

Hello there,

For a specific use case, a JSON response which is a top level array need to be returned.
Therefore, the path response definition looks as follows:

...
  200:
    description: ...
    schema:
      - $ref: "#/definitions/serviceResponse"
...
definitions:
  serviceResponse:
    type: "array"
    items:
      allOf:
         type: array
         items:
            allOf:
               - $ref: '#/definitions/specificEntity'

Such kind of structure is not able to get parsed to an asciidoc.

Thank you very much for your help
Spyros Papadopoulos

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions