View source: R/open-api-spec.R
The OpenAPI specification of a Plumber API created via
be modified via
plumber::pr_set_api_spec(), and this helper function will
identify data types of predictors and create a list to use in this
specification. These are not R data types, but instead basic JSON data
types. For example, factors in R will be documented as strings in the
An input data prototype from a model
This is a developer-facing function, useful for supporting new model types.
It is called by
A list to be used within
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.