Thinkcode.RabbitMQ.OpenAPI 1.0.8

dotnet add package Thinkcode.RabbitMQ.OpenAPI --version 1.0.8
NuGet\Install-Package Thinkcode.RabbitMQ.OpenAPI -Version 1.0.8
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="Thinkcode.RabbitMQ.OpenAPI" Version="1.0.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Thinkcode.RabbitMQ.OpenAPI --version 1.0.8
#r "nuget: Thinkcode.RabbitMQ.OpenAPI, 1.0.8"
#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 Thinkcode.RabbitMQ.OpenAPI as a Cake Addin
#addin nuget:?package=Thinkcode.RabbitMQ.OpenAPI&version=1.0.8

// Install Thinkcode.RabbitMQ.OpenAPI as a Cake Tool
#tool nuget:?package=Thinkcode.RabbitMQ.OpenAPI&version=1.0.8

Thinkcode.RabbitMQ.OpenAPI - the C# library for the Rabbitmq Http API

This is the OpenAPI specification of the RabbitMQ HTTP API. For more information, please refer to HTTP API official documentation. Also see Github for more information and code.

This library now supports .NETCore 2.0, 2.1, 2.2, 3.0 and .NET Standard 2.0 and 2.1.

This C# SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0
  • SDK version: 1.0.8

Release Notes

  • 1.0.8 - Support for Headers as Message Properties. Support for .NETCore 2.0, 2.1, 2.2, 3.0 and .NET Standard 2.0 and 2.1.
  • 1.0.7 - Updated RestSharp to 106.6.10,
  • 1.0.6 - Added fallback Authorization header to bypass filters.
  • 1.0.5 - Configuration merge (with Proxy) fixed.
  • 1.0.4 - Configuration now supports Proxy attribute with custom/explicit IWebProxy settings.

Frameworks supported

  • .NETCore 2.0
  • .NETCore 2.1
  • .NETCore 3.0
  • .NET Standard 2.0
  • .NET Standard 2.1

Dependencies

The DLLs included in the package may not be the latest version. We recommend using NuGet to obtain the latest version of the packages:

Install-Package RestSharp
Install-Package Newtonsoft.Json
Install-Package JsonSubTypes
Install-Package System.ComponentModel.Annotations
Install-Package CompareNETObjects

NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See RestSharp#742. NOTE: RestSharp 106.6.10 fixes a problem with obtaining the default proxy following a Windows 10 update that retires the function. See RestSharp#1182.

Installation

Run the following command to generate the DLL

  • [Mac/Linux] /bin/sh build.sh
  • [Windows] build.bat

Then include the DLL (under the bin folder) in the C# project, and use the namespaces:

using Thinkcode.RabbitMQ.OpenAPI.Api;
using Thinkcode.RabbitMQ.OpenAPI.Client;
using Thinkcode.RabbitMQ.OpenAPI.Model;

Getting Started

using System;
using System.Diagnostics;
using Thinkcode.RabbitMQ.OpenAPI.Api;
using Thinkcode.RabbitMQ.OpenAPI.Client;
using Thinkcode.RabbitMQ.OpenAPI.Model;

namespace Example
{
    public class Example
    {
        public void main()
        {

            // Configure HTTP basic authorization: basic_auth
            var configuration = new Configuration() {
                Username = "YOUR_USERNAME",
                Password = "YOUR_PASSWORD",                
                BasePath = "http://YOUR_HOST/api"
            };
            
            // Apply configuration to API
            var userApi = new UsersApi(configuration);
            
            try
            {
                // Check you're connected and your user
                var whoami = userApi.GetUserCurrent()
                Console.WriteLine(whoami);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling API: " + e.Message );
            }

        }
    }
}
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 is compatible.  netcoreapp2.2 is compatible.  netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.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 (1)

Showing the top 1 popular GitHub repositories that depend on Thinkcode.RabbitMQ.OpenAPI:

Repository Stars
mehdihadeli/food-delivery-microservices
🍔 A practical food delivery microservices, built with .Net 7, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
Version Downloads Last updated
1.0.8 4,694 10/14/2019
1.0.7 465 10/1/2019
1.0.6 560 5/17/2019
1.0.5 644 5/17/2019
1.0.4 515 5/17/2019
1.0.3 523 5/14/2019
1.0.2 521 5/13/2019