Thinkcode.RabbitMQ.OpenAPI
1.0.4
See the version list below for details.
dotnet add package Thinkcode.RabbitMQ.OpenAPI --version 1.0.4
NuGet\Install-Package Thinkcode.RabbitMQ.OpenAPI -Version 1.0.4
<PackageReference Include="Thinkcode.RabbitMQ.OpenAPI" Version="1.0.4" />
paket add Thinkcode.RabbitMQ.OpenAPI --version 1.0.4
#r "nuget: Thinkcode.RabbitMQ.OpenAPI, 1.0.4"
// Install Thinkcode.RabbitMQ.OpenAPI as a Cake Addin #addin nuget:?package=Thinkcode.RabbitMQ.OpenAPI&version=1.0.4 // Install Thinkcode.RabbitMQ.OpenAPI as a Cake Tool #tool nuget:?package=Thinkcode.RabbitMQ.OpenAPI&version=1.0.4
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.
This C# SDK is automatically generated by the OpenAPI Generator project:
- API version: 1.0
- SDK version: 1.0.4
Release Notes
- 1.0.4 - Configuration now support Proxy attribute with custom/explicit IWebProxy settings.
Frameworks supported
Dependencies
- RestSharp - 106.6.7 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
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 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.0
- CompareNETObjects (>= 4.57.0)
- JsonSubTypes (>= 1.5.2)
- Newtonsoft.Json (>= 12.0.1)
- RestSharp (>= 106.6.7)
- 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.
|