Skip to main content

post_format

Function post_format 

Source
pub async fn post_format(
    __arg0: Path<Format>,
    __arg1: Json<ConvertRequest>,
) -> Result<Json<ConvertResponse>, Error>
Expand description

Converts the supported formats to Nix.

See ConvertRequest and ConvertResponse for the request and response schema, respectively.

ยงErrors

Returns [Error::Conversion] in case something went wrong during the conversion processs.

axum::extract::Path.