Closed troncz closed 11 months ago
Yes this needs a fix.
Meanwhile PR to fix this issue is in creation, you can use this lib at CLI $ ./yii gii/api --help
. You will not face this issue in CLI.
First priority will be given to values present in config (example) to be shown in form fields.
Second to default values present in class cebe\yii2openapi\generator\ApiGenerator
Third will be given to values produced by PathAutoCompletion class
On large projects the current implementation of the PathAutoCompletion causes long execution times or timeouts. Since the autocomplete data is regenerated on every field rendered and there is no way to limit the path of the iterator, rendering of the view can take minutes.