Open Aeilert opened 2 years ago
It would be beneficial to move all the API input argument checks to the same location in endpoints.R.
Incorporate https://github.com/PIP-Technical-Team/pipapi/blob/a14f5ede5e30a736c927d12f50ee051251fb74ff/inst/plumber/v1/endpoints.R#L15-L25
together with
https://github.com/PIP-Technical-Team/pipapi/blob/a14f5ede5e30a736c927d12f50ee051251fb74ff/inst/plumber/v1/endpoints.R#L57-L87
Hi @shahronak47 ,
Can we safely close this?
cc> @tonyfujs
Hi @randrescastaneda , this isn't completed yet. We still have the two checks at two different places in two different filter's.
It would be beneficial to move all the API input argument checks to the same location in endpoints.R.
Incorporate https://github.com/PIP-Technical-Team/pipapi/blob/a14f5ede5e30a736c927d12f50ee051251fb74ff/inst/plumber/v1/endpoints.R#L15-L25
together with
https://github.com/PIP-Technical-Team/pipapi/blob/a14f5ede5e30a736c927d12f50ee051251fb74ff/inst/plumber/v1/endpoints.R#L57-L87