-
Notifications
You must be signed in to change notification settings - Fork 43
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
Limit response data #20
Comments
@nemozar the main idea of this package is to automate the collection of documentation as much as possible, so the response example generating from your test cases. You can use small trick to minimize response: just write test with the minimal response size to the last order (package save only latest response example in the doc). As a feature request, we may implement some limit config to define the max count of records in the test examples. |
@pirs1337 could you please proceed with solution I described above? Let's add the config which will set the response example limit (please note that for the paginated data it should affect on the Also please proceed the exceptions length, in new Laravel versions it looks huge. |
@pirs1337 also please investigate the array unexpected displaying |
@DenTray, ready for testing |
@NikitaYakovlev could you please test it? |
@NikitaYakovlev thanks! seems it swagger viewer issue, it works fine with elements and rapidoc viewer |
Released in 2.2 version |
API rerutn list with many items. In test use asserts:
in documents generated list with all items.
The text was updated successfully, but these errors were encountered: