Skip to content

Show multiple responses #16

@aemadrid

Description

@aemadrid

How do you show mutltiple response examples? I want to show a successful response and an error response. But the scaffold seems to mix all the responses from my tests into one big hash.

Example:

Valid Response:
{ response: { id: 1234, name: John } }

Error Response:
{ error: invalid_resource, error_description: "The current resource was deemed invalid.", messages: { name: ["can't be blank"] } }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions