pub fn openapi_document(
info: &ServiceInfo,
routes: &[RouteDescription],
media_types: Option<&[String]>,
) -> LinoValueExpand description
Build an OpenAPI 3.1 document describing the service.
Every request and response body is declared for all negotiable media types,
so that a generated client knows it may ask for text/lino.