I installed the latest version of the module and set the page limit configuration in the overridden resources. All the JSON requests using the default limit of "50", page limit configuration not working as expected.
I debugged the code and fixed the issue. Created the patch for the same.
I covered the below scenarios,
- If page[limit] set in the page request as a parameter then use that limit.
- If no parameter set in the request and page limit set in the configuration for each entity use that as a limit.
- If nothing is set then use default one "50".
Please review my patch.