Skip to main content

write_generated_surface_api_schema_response

Function write_generated_surface_api_schema_response 

Source
pub fn write_generated_surface_api_schema_response(
    surface_root: &Value,
) -> Option<String>
Expand description

Applies a route operation response directly as a JSON document.

§Parameters

§Returns

Returns Some when crate::runtime::dynamic::write_generated_surface_api_schema_response can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::write_generated_surface_api_schema_response(todo!());