Skip to main content

generate_openapi

Function generate_openapi 

Source
pub fn generate_openapi(engine: &Engine, proofs_enabled: bool) -> Value
Expand description

Generate a complete OpenAPI 3.1 specification using the current time.

Convenience wrapper around generate_openapi_effective. The spec reflects only the specs and interfaces active at DateTimeValue::now().