Nobly.SignatureApiClient
26.8.4.1
dotnet add package Nobly.SignatureApiClient --version 26.8.4.1
NuGet\Install-Package Nobly.SignatureApiClient -Version 26.8.4.1
<PackageReference Include="Nobly.SignatureApiClient" Version="26.8.4.1" />
<PackageVersion Include="Nobly.SignatureApiClient" Version="26.8.4.1" />
<PackageReference Include="Nobly.SignatureApiClient" />
paket add Nobly.SignatureApiClient --version 26.8.4.1
#r "nuget: Nobly.SignatureApiClient, 26.8.4.1"
#:package Nobly.SignatureApiClient@26.8.4.1
#addin nuget:?package=Nobly.SignatureApiClient&version=26.8.4.1
#tool nuget:?package=Nobly.SignatureApiClient&version=26.8.4.1
Nobly.SignatureApiClient
Auto-generated C# client (NSwag) for the Nobly Signature API. Published to NuGet as Nobly.SignatureApiClient.
Usage
The client is generated with injectHttpClient and an IApiClient interface, so it plugs straight into DI:
services.AddHttpClient<IApiClient, ApiClient>(httpClient => {
// BaseUrl can also be set via the generated BaseUrl property.
});
// Or manually:
HttpClient httpClient = new HttpClient();
ApiClient client = new ApiClient(httpClient) { BaseUrl = "https://your-signature-api-host" };
Modify and publish NoblySignatureApiClient
- Check out Nobly Signature (
Nobly Signaturerepository)masterbranch and run the API locally:dotnet run --project NoblySignatureApi --launch-profile http- If you have no Azure Key Vault access configured locally, disable it first by setting the environment variable
AzureKeyVaultConfiguration__Enabled=false(the Swagger spec generation does not need any secrets).
- If you have no Azure Key Vault access configured locally, disable it first by setting the environment variable
- Download the OpenAPI spec from the running API and save it over
NoblySignatureApiClient\openapi.json: http://localhost:5070/swagger/v1/swagger.json (also linked at the top of the Swagger UI page: http://localhost:5070/swagger). - Check out NoblySignatureApiClient
masterbranch and create a new branch from it. - Regenerate
ApiClient.csfrom the repository root:
(Alternatively, install NSwagStudio, opendotnet tool restore cd NoblySignatureApiClient dotnet nswag run "generate client.nswag"generate client.nswagin it and clickGenerate Files.) - Compare the newly generated client method signatures with the existing ones (see Important note below) and check the
openapi.jsondiff. - Increment the version numbers in
NoblySignatureApiClient.csproj(Version,AssemblyVersion,FileVersion,PackageTags). The scheme is date-based:YY.M.D.build, e.g.26.8.4.1for the first build on 2026-08-04. - Build the project — the NuGet package is generated automatically on build:
dotnet build -c Release→NoblySignatureApiClient\bin\Release\Nobly.SignatureApiClient.{version}.nupkg - Update this ReadMe with the new version as a title below, listing new endpoints, changed signatures and other important changes.
- Commit the branch to GitHub and merge into
master. - Create a Git tag on the merge commit of
masterwith the same version as in the .csproj file and push it:git tag -a 26.8.4.1 -m "26.8.4.1" && git push origin 26.8.4.1 - Publish the package to NuGet (API key is the Nobly NuGet account token):
dotnet nuget push "NoblySignatureApiClient\bin\Release\Nobly.SignatureApiClient.26.8.4.1.nupkg" -k <NUGET-API-KEY> -s https://api.nuget.org/v3/index.json
Important note:
Client methods are susceptible to change since NSwag will only include the HTTP method in client names when there is a name conflict, e.g., if there is a GET and a POST method with the same route.
So, if there is no signature conflict for a method and another endpoint is added with the same signature but a different HTTP method, the original client method name will change, i.e., it will subsequently include the HTTP method in its client method name.
E.g. if only a GET method exists for the endpoint Document, this would generate a DocumentAsync client method, but if a POST method with the same route were added, the DocumentAsync client method name would change to DocumentGetAsync.
This means that method signatures in a newly generated client should always be compared to the ones in the existing client to detect whether any client method signatures have changed.
Changed method signatures will need to be modified accordingly in any consuming code.
Version history
v.26.8.4.1
- Initial client generated from the Nobly Signature API OpenAPI spec.
| 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
- Newtonsoft.Json (>= 13.0.3)
- System.ComponentModel.Annotations (>= 4.7.0)
- System.Runtime.Serialization.Primitives (>= 4.3.0)
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 |
|---|---|---|
| 26.8.4.1 | 108 | 8/4/2026 |