Crate scalar_api_reference

Crate scalar_api_reference 

Source

Functionsยง

get_asset
Get a static asset by path
get_asset_with_mime
Get a static asset with MIME type information
get_mime_type
Determine MIME type based on file extension
render_scalar
Render Scalar HTML with embedded configuration and optional JS bundle URL
scalar_html
Return the Scalar HTML with embedded config and optional JS bundle URL
scalar_html_default
Return the Scalar HTML with embedded config using CDN JS bundle URL
scalar_html_from_json
Return the Scalar HTML with embedded config from a JSON string and optional JS bundle URL
scalar_html_from_json_default
Return the Scalar HTML with embedded config from a JSON string using CDN JS bundle URL