postmanToOpenApi function
OpenAPI 3.1.1 (3.2.0 when a request uses QUERY or a non-3.1 method) for a collection in any JSON version.
Implementation
Map<String, Object?> postmanToOpenApi(
Object? collection, {
void Function(String message)? onWarning,
}) => _Converter(normalizePostmanCollection(collection), onWarning).convert();