Skip to main content

schema_to_openapi

Function schema_to_openapi 

Source
pub fn schema_to_openapi(module: &Module, name: &str) -> Result<Value, String>
Expand description

The JSON Schema wrapped as an OpenAPI 3.1 components.schemas.<name> fragment.