diff --git a/MX.Platform.CSharp.sln b/MX.Platform.CSharp.sln index 3a4744e..027cac1 100644 --- a/MX.Platform.CSharp.sln +++ b/MX.Platform.CSharp.sln @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio 14 VisualStudioVersion = 14.0.25420.1 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp", "src\MX.Platform.CSharp\MX.Platform.CSharp.csproj", "{17228417-2F39-44B7-B9BD-DF21BAF346BC}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp", "src\MX.Platform.CSharp\MX.Platform.CSharp.csproj", "{ED16D04E-5937-45BA-9739-66B6D44E711A}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp.Test", "src\MX.Platform.CSharp.Test\MX.Platform.CSharp.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}" EndProject @@ -12,10 +12,10 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {17228417-2F39-44B7-B9BD-DF21BAF346BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {17228417-2F39-44B7-B9BD-DF21BAF346BC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {17228417-2F39-44B7-B9BD-DF21BAF346BC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {17228417-2F39-44B7-B9BD-DF21BAF346BC}.Release|Any CPU.Build.0 = Release|Any CPU + {ED16D04E-5937-45BA-9739-66B6D44E711A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ED16D04E-5937-45BA-9739-66B6D44E711A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ED16D04E-5937-45BA-9739-66B6D44E711A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ED16D04E-5937-45BA-9739-66B6D44E711A}.Release|Any CPU.Build.0 = Release|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU {19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU diff --git a/README.md b/README.md index f282da6..36fb4e0 100644 --- a/README.md +++ b/README.md @@ -48,8 +48,10 @@ namespace MyProject { static void Main(string[] args) { - // Configure with your Client ID/API Key from https://dashboard.mx.com Configuration config = new Configuration(); + config.DefaultHeaders = new Dictionary; + + // Configure with your Client ID/API Key from https://dashboard.mx.com config.Username = "Your Client ID"; config.Password = "Your API Key"; diff --git a/openapi/config.yml b/openapi/config.yml index 0c5cced..53293f7 100644 --- a/openapi/config.yml +++ b/openapi/config.yml @@ -1,3 +1,3 @@ --- packageName: MX.Platform.CSharp -packageVersion: 0.3.5 +packageVersion: 0.3.6 diff --git a/src/MX.Platform.CSharp/Client/Configuration.cs b/src/MX.Platform.CSharp/Client/Configuration.cs index 6ae700c..bb553d0 100644 --- a/src/MX.Platform.CSharp/Client/Configuration.cs +++ b/src/MX.Platform.CSharp/Client/Configuration.cs @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "0.3.5"; + public const string Version = "0.3.6"; /// /// Identifier for ISO 8601 DateTime Format @@ -101,7 +101,7 @@ public class Configuration : IReadableConfiguration public Configuration() { Proxy = null; - UserAgent = "OpenAPI-Generator/0.3.5/csharp"; + UserAgent = "OpenAPI-Generator/0.3.6/csharp"; BasePath = "https://api.mx.com"; DefaultHeaders = new ConcurrentDictionary(); ApiKey = new ConcurrentDictionary(); @@ -452,7 +452,7 @@ public static string ToDebugReport() report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; report += " Version of the API: 0.1.0\n"; - report += " SDK Package Version: 0.3.5\n"; + report += " SDK Package Version: 0.3.6\n"; return report; } diff --git a/src/MX.Platform.CSharp/MX.Platform.CSharp.csproj b/src/MX.Platform.CSharp/MX.Platform.CSharp.csproj index 0447f55..c0d5821 100644 --- a/src/MX.Platform.CSharp/MX.Platform.CSharp.csproj +++ b/src/MX.Platform.CSharp/MX.Platform.CSharp.csproj @@ -12,7 +12,7 @@ A library generated from a OpenAPI doc No Copyright MX.Platform.CSharp - 0.3.5 + 0.3.6 bin\$(Configuration)\$(TargetFramework)\MX.Platform.CSharp.xml https://github.com/GIT_USER_ID/GIT_REPO_ID.git git