[−][src]Function aide::openapi::v3::transform::default_response
pub fn default_response<D, R>(
description: D,
value: R
) -> impl FnOnce(OpenApi) -> OpenApi where
D: ToString,
R: JsonSchema + Serialize,
Sets the default response for all operations that don't yet have one.
Panics if the value cannot be JSON serialized.