laminas-api-tools / api-tools

Laminas API Tools module for Laminas
https://api-tools.getlaminas.org/documentation
BSD 3-Clause "New" or "Revised" License
37 stars 19 forks source link

separate module configs for different api versions #48

Open michalbundyra opened 4 years ago

michalbundyra commented 4 years ago

this is all related to how the underlying code of the ui reads/writes the api configs for versions to module.config.php

currently: a src/Rest/V1/Rest and a src/Rest/V2/Rest have shared config in module.config.php

proposed change would be something like: src/Rest/V1/Rest with a config/module.v1.rest.config.php src/Rest/V2/Rest with a config/module.v2.rest.config.php

this would allow for easy drop-in/removal of api versions by just merging the extra config in Module.php::getConfig()


Originally posted by @nclundsten at https://github.com/zfcampus/zf-apigility/issues/128