Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Array types are not properly displayed #40

Closed
kennydude opened this issue Apr 12, 2018 · 1 comment
Closed

Array types are not properly displayed #40

kennydude opened this issue Apr 12, 2018 · 1 comment

Comments

@kennydude
Copy link

When using Data Structures which may use an array for sub-objects, the generated schema does not fully describe the sub-objects but the example is correct.

Ideally I would like to be able to have a way of showing what each property inside the array is supposed to mean. A feature that Apiary has, but sadly not Snowboard

@DavidBM
Copy link

DavidBM commented Aug 13, 2018

you need to add fixed-type as the last argument of the type. Like this:

- `plans` (array[location_plan], optional, fixed-type)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants