Nobly.OnBaseRestApiClient 1.3.14

There is a newer version of this package available.
See the version list below for details.
dotnet add package Nobly.OnBaseRestApiClient --version 1.3.14                
NuGet\Install-Package Nobly.OnBaseRestApiClient -Version 1.3.14                
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="Nobly.OnBaseRestApiClient" Version="1.3.14" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Nobly.OnBaseRestApiClient --version 1.3.14                
#r "nuget: Nobly.OnBaseRestApiClient, 1.3.14"                
#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.
// Install Nobly.OnBaseRestApiClient as a Cake Addin
#addin nuget:?package=Nobly.OnBaseRestApiClient&version=1.3.14

// Install Nobly.OnBaseRestApiClient as a Cake Tool
#tool nuget:?package=Nobly.OnBaseRestApiClient&version=1.3.14                

Modify and publish NoblyOnBaseRestApiClient

  1. Check out OnBaseRestApi master branch and generate new client with NSwag.
  2. Check out OnBaseRestApiClient master branch, create a new branch from it and replace ...\OnBaseRestApiClient\NoblyOnBaseRestApiClient\ApiClient.cs with the freshly generated ApiClient.cs.
  3. Increment version numbers in NoblyOnBaseRestApiClient.csproj (normally one minor version greater than greatest minor version on GitHub).
  4. Build NoblyOnBaseRestApiClient.
  5. Update NoblyOnBaseRestApiClient ReadMe (this file), with the new version as title, with new features and other important changes in this version.
  6. Commit the newly created NoblyOnBaseRestApiClient branch to GitHub and merge into master.
  7. Create Git tag on the commit of NoblyOnBaseRestApiClient master branch with the same version as set in the .cproj file (e.g. git tag -a 1.3.12)
  8. Publish NoblyOnBaseRestApiClient to a folder.
  9. Publish generated NoblyOnBaseRestApiClient package generated in that folder to nuget (e.g. dotnet nuget push Nobly.OnBaseRestApiClient.1.3.12.nupkg -k xxxxxxxxxxxxxxxxxxxxxx -s https://api.nuget.org/v3/index.json) (Ask password, xxxxxxxxxxxxxxxxxxxxxx, for publishing to nuget of a colleague).

During development, the nuget package can be installed temporarily from local disk in a customer projects, provided that the folder to which it was published is added to VS nuget sources.

To generate a new ApiClient in NSwag:

  1. Install NSwagStudio.
  2. Double-click \OnBaseRestApiClient\NoblyOnBaseRestApiClient\generate client.nswag to open it in NSwagStudio.
  3. Fire up OnBaseRestApi and go to its swagger page.
  4. Copy the https://localhost:{port}/openapi/v1/openapi.json URL.
  5. Paste this URL into Inputs->Specification URL and click Create local copy.
  6. Click CTRL+S to save generate client.nswag file.
  7. In Output->CSharpClient->Settings->Output file path, write the output path, e.g., C:\repro\OnBaseRestApiClient\NoblyOnBaseRestApiClient\ApiClient.cs.
  8. Click Outputs->Generate Outputs for a preview, and then Generate Files in order to save the generated API client to file.

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.

v.1.3.8:

  • Method name ApiDocumentsNotesAsync changed to ApiDocumentsNotesGetAsync.
  • Method name ApiDocumentsHistoryAsync changed to ApiDocumentsHistoryGetAsync.

v.1.3.9:

  • Added method ApiWorkViewSqlObjectsWorkViewsAsync

v.1.3.13:

  • Added method ApiWorkViewSqlObjectsSearchAsync
  • Added method ApiWorkViewSqlObjectDeleteAsync
  • Method ApiWorkViewSqlObjectsGetAsync was marked as obsolete
  • Method ApiWorkViewSqlObjectsPostAsync was marked as obsolete

v.1.3.14

  • Fixed support for data types Text, FormattedText and external datasets.
  • Fixed handling of attribute default value.
  • Fixed bugs in base property filtering and retrieval.
  • Manually added method ApiWorkViewSqlObjectsSearchPostAsync to get a list of WorkView objects. This was done to include discriminators in the request's Filter.Expressions in order to distinguish Wrapper and Comparison objects.
Product 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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.3.15 93 11/28/2024
1.3.14 104 10/29/2024
1.3.13 126 9/3/2024
1.3.11 133 5/21/2024
1.3.10 104 5/16/2024
1.3.9 92 5/16/2024
1.3.8 168 3/21/2024
1.3.6 473 1/4/2024
1.3.3 432 12/12/2023
1.3.2 416 12/12/2023
1.3.1 417 12/11/2023
1.3.0 426 12/7/2023
1.2.10 1,414 2/2/2022
1.2.7 3,608 8/24/2020
1.2.6 1,068 8/21/2020
1.2.5 1,006 8/18/2020
1.2.4 1,102 8/18/2020
1.2.3 1,080 8/13/2020
1.2.2 1,328 6/26/2020
1.2.1 1,094 6/26/2020
1.2.0 1,108 6/26/2020
1.1.0 1,094 6/19/2020
1.0.1 1,117 6/19/2020
1.0.0 1,131 6/19/2020