Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Response with array of MSON objects #237

@AlexKorovyansky

Description

@AlexKorovyansky

I have Event data structure, and have GET Events method

## Event (object)
+ eventId : 1 (number, required)  Id of event
+ name: Albuquerque Balloon Fiesta (string, required) Name of event
+ location: Albuquerque, NM (string, required) Location of event
...

### List All Events [GET /events]

+ Response 200 (application/json)

    + Attributes
        + events (array[Event])

Apiary will generate method documentation with one event in the response json. I'm wondering how I can hook Apiary to generate 10 events in the response. It would be very useful feature in order to make Mock server much closer to real implementation.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions