Soenneker.Postman.Converter
4.0.109
Prefix Reserved
dotnet add package Soenneker.Postman.Converter --version 4.0.109
NuGet\Install-Package Soenneker.Postman.Converter -Version 4.0.109
<PackageReference Include="Soenneker.Postman.Converter" Version="4.0.109" />
<PackageVersion Include="Soenneker.Postman.Converter" Version="4.0.109" />
<PackageReference Include="Soenneker.Postman.Converter" />
paket add Soenneker.Postman.Converter --version 4.0.109
#r "nuget: Soenneker.Postman.Converter, 4.0.109"
#:package Soenneker.Postman.Converter@4.0.109
#addin nuget:?package=Soenneker.Postman.Converter&version=4.0.109
#tool nuget:?package=Soenneker.Postman.Converter&version=4.0.109
Soenneker.Postman.Converter
Converts Postman collection JSON into an OpenAPI v3 document or JSON file.
Installation
dotnet add package Soenneker.Postman.Converter
Registration
using Soenneker.Postman.Converter.Registrars;
services.AddPostmanConverterAsSingleton();
The converter is safe to reuse concurrently. A scoped registration is also available; its HTTP transport remains process-wide.
Convert JSON or a file
using Microsoft.OpenApi;
using Soenneker.Postman.Converter.Abstract;
IPostmanConverter converter =
serviceProvider.GetRequiredService<IPostmanConverter>();
string collectionJson = await File.ReadAllTextAsync(
"postman_collection.json",
cancellationToken);
OpenApiDocument document =
await converter.Convert(collectionJson, cancellationToken);
string openApiJson = converter.ToJson(document);
For direct file conversion and an atomic output replacement:
await converter.SaveOpenApiFile(
"postman_collection.json",
"openapi.json",
cancellationToken);
ConvertFile and ConvertFileToJson return the document or JSON without writing an output file.
Convert a collection URL
await converter.SaveOpenApiUrl(
"https://example.com/postman_collection.json",
"openapi.json",
cancellationToken);
ConvertUrl and ConvertUrlToJson use the registered HTTP client and return the result in memory. Only pass trusted URLs when this runs in a server process, because the converter performs an HTTP GET from that process and can reach destinations available to it.
Conversion behavior
The converter maps nested folders to tags, collection variables to server/path values, request headers and bodies to operation inputs, saved examples to response schemas, and supported Postman authentication metadata to OpenAPI security schemes. Unsupported HTTP methods fail explicitly instead of being emitted as a different operation.
Postman scripts, test assertions, and runtime behavior are not executable OpenAPI concepts and are not carried into the output. Review the generated document before using it for client generation or publishing.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.OpenApi (>= 3.10.2)
- Soenneker.Utils.File (>= 4.0.2273)
- Soenneker.Utils.HttpClientCache (>= 4.0.2080)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.109 | 40 | 9/13/2026 |
| 4.0.106 | 59 | 9/13/2026 |
| 4.0.105 | 68 | 9/12/2026 |
| 4.0.104 | 45 | 9/12/2026 |
| 4.0.103 | 127 | 9/9/2026 |
| 4.0.102 | 85 | 9/8/2026 |
| 4.0.101 | 99 | 9/8/2026 |
| 4.0.100 | 92 | 9/8/2026 |
| 4.0.99 | 118 | 9/7/2026 |
| 4.0.98 | 98 | 9/7/2026 |
| 4.0.97 | 100 | 9/7/2026 |
| 4.0.96 | 95 | 9/7/2026 |
| 4.0.95 | 155 | 9/5/2026 |
| 4.0.94 | 91 | 9/5/2026 |
| 4.0.93 | 144 | 9/4/2026 |
| 4.0.91 | 101 | 9/4/2026 |
| 4.0.90 | 95 | 9/4/2026 |
| 4.0.89 | 88 | 9/4/2026 |
| 4.0.88 | 119 | 9/4/2026 |
| 4.0.86 | 101 | 9/4/2026 |