The prediction model is fairly simple.
Input is a string/character. I am able to test the API locally using swagger for a single entry. It works as expected and response is as expected i.e. a data frame with 1 row converted to json format . See picture below.
In deployment, the input to this API will be a vector of 'n' strings and response will be n row dataframe.
How to test the multiple entries in Swagger?
I see this is covered by James Blair in this [talk] (https://resources.rstudio.com/rstudio-conf-2019/democratizing-r-with-plumber-apis) at ~14.15. But, I am unable to reproduce the multiple entry testing with the code given in GitHub. Is there an easier way to do this?