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

Pagination response doesn't appear to work #678

Closed
1 task done
laurenwilliams92 opened this issue Jun 1, 2023 · 1 comment
Closed
1 task done

Pagination response doesn't appear to work #678

laurenwilliams92 opened this issue Jun 1, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@laurenwilliams92
Copy link

Scribe version

4.19.0

PHP version

8.2

Framework

Laravel

Framework version

10.8.0

Scribe config

type => "laravel"
try_it_out.enabled => false
auth.enabled => true
auth.default => true
auth.name => "Authorization"
auth.use_value => "{AUTHKEY}"

What happened?

I have an endpoint that returns a resource collection with a paginated model

The response generated by scribe does not contain the paginated response, only that inside the 'data' array

Screenshot 2023-06-01 at 11 46 44
Screenshot 2023-06-01 at 11 49 03

Docs

@laurenwilliams92 laurenwilliams92 added bug Something isn't working triage labels Jun 1, 2023
@shalvah shalvah removed the triage label Jun 3, 2023
@shalvah shalvah closed this as completed in d53776b Jun 3, 2023
@shalvah
Copy link
Contributor

shalvah commented Jun 3, 2023

Fixed in 4.21.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants