Skip to main content

versioned_api_prefix

Function versioned_api_prefix 

Source
pub fn versioned_api_prefix(
    root: &str,
    version: &str,
) -> Result<String, ModelError>
Expand description

Build {root}/v{version}/ without encoding + in build metadata.

ยงErrors

Returns an error when root is not an absolute base URL or the version is empty.