Skip to content

only one example supported, but not multiple examples #8

Description

@tkaefer

I think your documentation tool for RAML is currently the best one for RAML 1.0.

Unfortunately I came across one issue with examples::
Instead of providing just one example, I need to have more than one provided and RAML 1.0 gives to opportunity for that (see https://github.com/raml-org/raml-spec/blob/master/versions/raml-10/raml-10.md#multiple-examples). But the html from ramlo just does not display anything when I use multiple examples.

Multiple examples (which does not show anything):

          examples:
            jsonAsset: !include examples/createBodyJsonAsset.json
            pngAsset: !include examples/createBodyPngFile.json

One example (which works):

            example: !include examples/listResponseBody.json

I am not sure if there is something wrong here in my Spec. Atom "API Workbench" doesn't complain at least.
Do you have any hints?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions