AVPRClient 0.3.0-preview.1

This is a prerelease version of AVPRClient.
dotnet add package AVPRClient --version 0.3.0-preview.1
                    
NuGet\Install-Package AVPRClient -Version 0.3.0-preview.1
                    
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="AVPRClient" Version="0.3.0-preview.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AVPRClient" Version="0.3.0-preview.1" />
                    
Directory.Packages.props
<PackageReference Include="AVPRClient" />
                    
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 AVPRClient --version 0.3.0-preview.1
                    
#r "nuget: AVPRClient, 0.3.0-preview.1"
                    
#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 AVPRClient@0.3.0-preview.1
                    
#: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=AVPRClient&version=0.3.0-preview.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=AVPRClient&version=0.3.0-preview.1&prerelease
                    
Install as a Cake Tool

AVPR Client

.NET client library for https://avpr.nfdi4plants.org.

Generated with NSwag based on the OpenAPI specification. This package contains only generated transport code and its JSON dependency. Applications that need portable validation-package types should reference AVPRClient.Interop explicitly.

Usage

fsharp

open AVPRClient

let client = 
    let httpClient = new System.Net.Http.HttpClient()
    httpClient.DefaultRequestHeaders.Add("X-API-KEY", apiKey)
    new AVPRClient.Client(httpClient)

csharp

using AVPRClient;

var httpClient = new System.Net.Http.HttpClient()
httpClient.DefaultRequestHeaders.Add("X-API-KEY", apiKey)

var client = new Client(httpClient);

(Re)generate client

NSwag is pinned as a repository-local .NET tool. Restore it once after cloning or whenever .config/dotnet-tools.json changes:

dotnet tool restore

Start the registry service locally with its HTTP launch profile so that its OpenAPI document is available at http://localhost:5099/swagger/v1/swagger.json:

dotnet run --project src/PackageRegistryService/PackageRegistryService.csproj --launch-profile http

Then, from the repository root in another terminal, regenerate the client with:

dotnet tool run nswag -- run src/AVPRClient/nswag.json

The checked-in nswag.json fixes the input URL, namespace, client name, generation mode, and output path. To use another running service without editing the configuration, override OpenApiUrl:

dotnet tool run nswag -- run src/AVPRClient/nswag.json /variables:OpenApiUrl=http://localhost:5001/swagger/v1/swagger.json

Review the generated diff and build/test the client before committing it. Do not regenerate against the production API when implementing an API schema change, because production will still expose the previous schema.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on AVPRClient:

Package Downloads
ARCValidationPackages

Package Description

AVPRClient.Interop

Mappings between the generated AVPR client and the portable validation-package model.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0-preview.1 54 7/31/2026
0.2.1 273 12/4/2025
0.2.0 315 12/4/2025
0.1.2 1,304 6/21/2024
0.1.1 234 6/21/2024
0.1.0 231 6/21/2024
0.0.9 220 6/19/2024
0.0.8 211 6/18/2024
0.0.7 252 6/12/2024
0.0.6 233 6/11/2024
0.0.5 286 6/11/2024
0.0.4 411 3/5/2024
0.0.3 226 2/29/2024
0.0.2 290 2/29/2024
0.0.1 305 2/22/2024

## v0.3.0
- Regenerate the client for the supported CWL v1.2 scalar `Inputs` contract.
- Move all handwritten model and staging mappings to `AVPRClient.Interop` and `AVPRCI`, leaving this package generated-only.

## v0.2.1
- fix : Correct `ProgrammingLanguage` field mapping in `ValidationPackage` type extension.

## v0.2.0
- Regen client for `ProgrammingLanguage` field

## v0.1.2
- Add more `IdentityEquals` extension methods to compare between `ValidationPackage` and `ValidationPackageIndex`

## v0.1.1
- Add `IdentityEquals` extension method for `ValidationPackage`

## v0.1.0
- Regen client for full semVer support (AVPRIndex >= 0.2.0)

## v0.0.9
- Use AVPRIndex for all package binary content extractions

## v0.0.8
- Use AVPRIndex for all package hash calculations

## v0.0.7
- Further TypeExtension improvements and fixes

## v0.0.6
- Fix some missing fields in type extensions

## v0.0.5
- Regen Client with new `CQCHookEndpoint` field in package metadata

## v0.0.4

- Add more interop extensions between AVPRClient and AVPRIndex
- Regen Client with new statistics API Endpoints

## v0.0.3

- Add extensions that connect AVPRIndex and AVPRClient types

## v0.0.2

- Regen with for additional metadata fields

## v0.0.1

- Initial release for AVPR API v1