Skip to main content

generate_openapi

Function generate_openapi 

Source
pub fn generate_openapi(request: &CodeGeneratorRequest) -> CodeGeneratorResponse
Expand description

Generate a merged OpenAPI v3.1 protoc plugin response for a request.

This delegates schema and comment harvesting to grpc-gateway’s protoc-gen-openapiv3, then patches the result to match connect2axum REST behavior.