Skip to main content

to_string_pretty

Function to_string_pretty 

Source
pub fn to_string_pretty(value: &Value) -> String
Expand description

Pretty-printed JSON of a generated spec. Convenience for serving the document at e.g. /openapi.json.