Voyager.Common.Proxy.Server.Swagger.Core
1.7.7
See the version list below for details.
dotnet add package Voyager.Common.Proxy.Server.Swagger.Core --version 1.7.7
NuGet\Install-Package Voyager.Common.Proxy.Server.Swagger.Core -Version 1.7.7
<PackageReference Include="Voyager.Common.Proxy.Server.Swagger.Core" Version="1.7.7" />
<PackageVersion Include="Voyager.Common.Proxy.Server.Swagger.Core" Version="1.7.7" />
<PackageReference Include="Voyager.Common.Proxy.Server.Swagger.Core" />
paket add Voyager.Common.Proxy.Server.Swagger.Core --version 1.7.7
#r "nuget: Voyager.Common.Proxy.Server.Swagger.Core, 1.7.7"
#:package Voyager.Common.Proxy.Server.Swagger.Core@1.7.7
#addin nuget:?package=Voyager.Common.Proxy.Server.Swagger.Core&version=1.7.7
#tool nuget:?package=Voyager.Common.Proxy.Server.Swagger.Core&version=1.7.7
Voyager.Common.Proxy.Server.Swagger.Core
Core library for generating Swagger/OpenAPI documentation from Voyager.Common.Proxy service interfaces.
Overview
This package provides the shared logic for Swagger generation, used by both:
Voyager.Common.Proxy.Server.Swagger(ASP.NET Core / Swashbuckle)Voyager.Common.Proxy.Server.Swagger.Owin(OWIN / Swagger.Net)
Key Components
ServiceProxySwaggerGenerator
Generates platform-agnostic path definitions from service interfaces:
var generator = new ServiceProxySwaggerGenerator();
var paths = generator.GeneratePaths<IUserService>();
// Access generated component schemas
var schemas = generator.SchemaGenerator.ComponentSchemas;
SchemaGenerator
Generates JSON Schema definitions from .NET types:
var schemaGenerator = new SchemaGenerator();
var schema = schemaGenerator.GenerateSchema(typeof(User));
// Get all generated component schemas
var componentSchemas = schemaGenerator.ComponentSchemas;
Features
- Result<T> Unwrapping: Automatically extracts
TfromResult<T>for response schemas - Parameter Binding: Correctly identifies route, query, and body parameters
- Error Responses: Automatically adds standard error responses (400, 401, 403, 404, 409, 500)
- Schema Generation: Generates JSON Schema for complex types, arrays, enums, and primitives
- Nullable Support: Correctly handles nullable types and reference types
Models
PathDefinition- Represents an API path with HTTP method and operationOperationDefinition- Represents an API operation with parameters, request body, and responsesParameterDefinition- Represents a path, query, or header parameterRequestBodyDefinition- Represents a request body with content type and schemaResponseDefinition- Represents an HTTP response with status code and schemaSchemaDefinition- Platform-agnostic JSON Schema representation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Text.Json (>= 8.0.5)
- Voyager.Common.Proxy.Server.Abstractions (>= 1.7.7)
- Voyager.Common.Proxy.Server.Core (>= 1.7.7)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Voyager.Common.Proxy.Server.Swagger.Core:
| Package | Downloads |
|---|---|
|
Voyager.Common.Proxy.Server.Swagger.Owin
Swagger/OpenAPI integration for Voyager.Common.Proxy.Server on OWIN/.NET Framework 4.8. Automatically generates API documentation from service interfaces using Swagger-Net. |
|
|
Voyager.Common.Proxy.Server.Swagger
Swagger/OpenAPI integration for Voyager.Common.Proxy.Server on ASP.NET Core. Automatically generates API documentation from service interfaces using Swashbuckle. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.7.8-preview.1 | 0 | 2/9/2026 |
| 1.7.7 | 36 | 2/6/2026 |
| 1.7.7-preview.1.1 | 31 | 2/6/2026 |