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
<PackageReference Include="Thinkcode.RabbitMQ.OpenAPI" Version="1.0.8" />
paket add Thinkcode.RabbitMQ.OpenAPI --version 1.0.8
#r "nuget: Thinkcode.RabbitMQ.OpenAPI, 1.0.8"
// 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
- RestSharp - 106.6.10 or later
- Json.NET - 12.0.1 or later
- JsonSubTypes - 1.5.2 or later
- CompareNETObjects - 4.57.0 or later
- System.ComponentModel.Annotations - 4.5.0 or later
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 | 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. |
.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. |
-
.NETCoreApp 2.1
- CompareNETObjects (>= 4.57.0)
- JsonSubTypes (>= 1.5.2)
- Newtonsoft.Json (>= 12.0.1)
- RestSharp (>= 106.6.10)
- System.ComponentModel.Annotations (>= 4.5.0)
-
.NETCoreApp 2.2
- CompareNETObjects (>= 4.57.0)
- JsonSubTypes (>= 1.5.2)
- Newtonsoft.Json (>= 12.0.1)
- RestSharp (>= 106.6.10)
- System.ComponentModel.Annotations (>= 4.5.0)
-
.NETCoreApp 3.0
- CompareNETObjects (>= 4.57.0)
- JsonSubTypes (>= 1.5.2)
- Newtonsoft.Json (>= 12.0.1)
- RestSharp (>= 106.6.10)
- System.ComponentModel.Annotations (>= 4.5.0)
-
.NETStandard 2.0
- CompareNETObjects (>= 4.57.0)
- JsonSubTypes (>= 1.5.2)
- Newtonsoft.Json (>= 12.0.1)
- RestSharp (>= 106.6.10)
- System.ComponentModel.Annotations (>= 4.5.0)
-
.NETStandard 2.1
- CompareNETObjects (>= 4.57.0)
- JsonSubTypes (>= 1.5.2)
- Newtonsoft.Json (>= 12.0.1)
- RestSharp (>= 106.6.10)
- System.ComponentModel.Annotations (>= 4.5.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on Thinkcode.RabbitMQ.OpenAPI:
Repository | Stars |
---|---|
mehdihadeli/food-delivery-microservices
🍔 A practical and imaginary food delivery microservices, built with .Net 8, MassTransit, Domain-Driven Design, CQRS, Vertical Slice Architecture, Event-Driven Architecture, and the latest technologies.
|
|
mehdihadeli/vertical-slice-api-template
An asp.net core template based on .Net 8, Vertical Slice Architecture, CQRS, Minimal APIs, API Versioning and Swagger.
|