pub fn generate_openapi_spec(
routes: &[RouteMetadata],
config: &OpenApiConfig,
_schema_registry: &SchemaRegistry,
server_config: Option<&ServerConfig>,
) -> Result<OpenApi, String>Expand description
Generate OpenAPI specification from routes with auto-detection of security schemes