Open gsingh91 opened 2 years ago
I believe this feature was lost when changing from Swagger to Rapidoc for visual API documentation (to match R + better UI. Unfortunately, it can't be changed easily with updating the openapi.json
specification as anticipated.
For now, I'm adding this to the vetiver planning backlog, as I don't anticipate I will work on this more in the next 6-8 weeks. Currently you can still access the Swagger docs at {url}/docs
if you prefer to use documentation with filled data.
Describe the bug After publishing a vetiver API, the EXAMPLE section is not picking up data from ptype. The same data shows up in SCHEMA section though.
To Reproduce Use this API: https://colorado.rstudio.com/rsc/bike-predict-python-api/
Expected behavior Example should also be populated with default values.
Screenshots