Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

add query params from collection whitelist #30

Open
abacaphiliac opened this issue Mar 4, 2017 · 1 comment
Open

add query params from collection whitelist #30

abacaphiliac opened this issue Mar 4, 2017 · 1 comment

Comments

@abacaphiliac
Copy link
Contributor

hi there,

i'd like to see my whitelisted collection params from zf-rest.MyController.collection_query_whitelist show up in the Swagger UI as form inputs. in order to do that, i think collection_query_whitelist would need to be added to the \ZF\Apigility\Documentation\Service generated by \ZF\Apigility\Documentation\ApiFactory::createService in zfcampus/zf-apigility-documentation, and \ZF\Apigility\Documentation\Swagger\Service::toArray would need to updated in this package to transform collection_query_whitelist into Swagger parameters.

does this functionality already exist and i've misconfigured something? if not, and if this sounds like a useful addition then i'll get to work.

thanks!

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas-api-tools/api-tools-documentation-swagger; a new issue has been opened at laminas-api-tools/api-tools-documentation-swagger#9.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants