Skip to main content

spec_of

Function spec_of 

Source
pub fn spec_of<T: OpenApi>() -> Value
Expand description

The JSON for a utoipa document.

null if the document cannot be encoded as JSON, which would be a defect in the utoipa types rather than in anything a caller supplied.