sphinx-contrib/openapi

Array of string or integer doesn't show its description

Opened this issue · 1 comments

Hi,

When having a property like this:

      permissions:
        description: Actuators allowed
        example:
        - a0
        - a1
        items:
          type: string
        type: array

I get an output where description is not shown:

result.acl[].permissions[] (string) –

In cases like this (or array of integers maybe) it would be nice to show the description.

Created a pull request so a line with description will be generated for arrays of string, number, integer or boolean

#94