Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Response files as part of response #771

Closed
Chris-Pratt-Clystnet opened this issue Jul 9, 2020 · 1 comment
Closed

Response files as part of response #771

Chris-Pratt-Clystnet opened this issue Jul 9, 2020 · 1 comment

Comments

@Chris-Pratt-Clystnet
Copy link

Hello,

I am not sure if this is currently possible or I am just not doing it right but what I am trying to achieve is to be able to reuse response files across different responses so that things such as the pagination meta stay the same. I have put an example of what I am trying to do below so any help would be appreciated.

@response {
    "data": [
        @responseFile responses/booking.entry.json
     ],
     "meta": {
         @responseFile responses/meta.pagination.json
     }
}
@Chris-Pratt-Clystnet
Copy link
Author

I should of looked at the pull requests before posting this as #764 is exactly what I am looking for so closing this ticket.

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

No branches or pull requests

1 participant