Closed nemozar closed 1 year ago
@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 data
field).
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?
unexpected array display not fixed:
@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.