Eternet.Mediator.EndpointManifest.Generator 2.3.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Eternet.Mediator.EndpointManifest.Generator --version 2.3.0
                    
NuGet\Install-Package Eternet.Mediator.EndpointManifest.Generator -Version 2.3.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Eternet.Mediator.EndpointManifest.Generator" Version="2.3.0">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Eternet.Mediator.EndpointManifest.Generator" Version="2.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Eternet.Mediator.EndpointManifest.Generator">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Eternet.Mediator.EndpointManifest.Generator --version 2.3.0
                    
#r "nuget: Eternet.Mediator.EndpointManifest.Generator, 2.3.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Eternet.Mediator.EndpointManifest.Generator@2.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Eternet.Mediator.EndpointManifest.Generator&version=2.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Eternet.Mediator.EndpointManifest.Generator&version=2.3.0
                    
Install as a Cake Tool

Eternet.Mediator.EndpointManifest.Generator

Analyzer package that emits the public Eternet.Mediator.Generated.EndpointManifestProvider carrier for mediator contract assemblies.

Use this package in *.Contracts projects together with:

  • Eternet.Mediator.EndpointModel
  • <EternetGenerateEndpointManifest>true</EternetGenerateEndpointManifest>

This package is intentionally narrower than Eternet.Mediator.Generator. It only carries the manifest-emission generator needed by contract packages, while runtime/controller generation remains in the broader mediator generator package.

The generator emits a manifest for any assembly that contains endpoint descriptors. ApiGatewaySourceService can still add source-service identity, but it is not required for manifest emission.

Services that can safely forward every gateway request to a fully isolated testing environment can add [assembly: ApiGatewayTestingSupport]. Services with partial support can instead add [ApiGatewayEndpointTestingSupport] to each supported endpoint contract or OData entity-set class. The generator records the selected scope in the manifest and reports compile-time error EM9012 if an assembly combines the global and endpoint-level modes.

Relative gateway routes are composed below their OperationNamespace. The generator reports warning EM9013 when a relative route already starts with that namespace because it would publish a duplicated path such as Networking/Networking/.... Remove the namespace segment from the route, or set IsRouteAbsolute = true when the declared route intentionally owns the complete public path.

New public contracts should mark the abstract endpoint contract with EndpointGroup, not GenerateEndpoint. GenerateEndpoint is server-only opt-in metadata.

EndpointManifestProvider.ManifestJson is intentionally public so source generators in consuming projects can read the manifest from metadata references during compilation. The sidecar file remains the preferred runtime/build artifact when the consuming tool is not a source generator.

Types marked with GenerateHttpClient, or nested inside a GenerateHttpClient container, are intentionally excluded from the emitted manifest because the current assembly consumes them as outbound descriptors instead of serving them.

For the current contract authoring model that feeds this generator, see ../docs/contracts-and-transport-authoring.md and ../docs/endpoint-manifest-ecosystem.md.

OData capability publication

[ContractCapability(Publish = false)] on an OData entity-set declaration omits its agent capability while preserving the OData model, HTTP descriptor, schema and generated client/server surface. Inherited publication decisions are honored; an explicit entity-set declaration overrides its inherited decision, including Publish = true. An entity set without a publication override retains the default publication behavior. This flag does not change endpoint authentication or authorization.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

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
3.10.0 186 12/3/2026
3.9.0 341 11/30/2026
3.8.0 413 11/30/2026
3.7.0 241 11/29/2026
3.6.0 210 11/28/2026
3.5.0 245 11/27/2026
3.4.0 107 11/27/2026
3.3.0 106 11/26/2026
3.2.0 353 11/19/2026
3.1.0 325 11/7/2026
3.0.0 111 11/6/2026
2.8.0 300 11/2/2026
2.7.0 721 10/30/2026
2.6.0 717 10/30/2026
2.5.0 3,873 10/30/2026
2.4.1 203 10/29/2026
2.3.0 1,893 10/23/2026
2.2.0 234 10/23/2026
2.1.0 228 10/21/2026
2.0.0 592 10/15/2026
Loading failed