apiaryio / mson

Markdown Syntax for Object Notation
MIT License
903 stars 180 forks source link

array samples? #53

Closed geemus closed 8 years ago

geemus commented 8 years ago

I've tried to do something like:

+ tags: example (array[string]) - a set of string values

But the examples I see in the docs/inspector stuff are all just empty arrays. I tried to find other examples or explanations of this, but got a bit stuck. Would appreciate any insight about how to fix this. Thanks!

zdne commented 8 years ago

@geemus your example is correct but I am wondering, are you referring to rendering in Apiary?

If so, we are rolling out a better version of the renderer https://github.com/apiaryio/api-blueprint/issues/191

Other examples would be

- tags: red, green, blue (array)
- tags:
    - red 
    - green
    - (ojbect)
        - color: blue
    - 42 (number)

etc.

pksunkara commented 8 years ago

This has been fixed. Please follow apiaryio/api-blueprint#191 to know when the better version will be rolling out completely.

geemus commented 8 years ago

Thanks!

On Thu, Apr 7, 2016 at 8:36 AM, Pavan Kumar Sunkara < notifications@github.com> wrote:

This has been fixed. Please follow apiaryio/api-blueprint#191 https://github.com/apiaryio/api-blueprint/issues/191 to know when the better version will be rolling out completely.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/apiaryio/mson/issues/53#issuecomment-206907576