Skip to content

Commit 3a490e9

Browse files
Merge pull request #19 from mxenabled/openapi-generator-0.3.7
Generated version 0.3.7
2 parents b931e7e + 0ce270c commit 3a490e9

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

MX.Platform.CSharp.sln

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
22
# Visual Studio 14
33
VisualStudioVersion = 14.0.25420.1
44
MinimumVisualStudioVersion = 10.0.40219.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp", "src\MX.Platform.CSharp\MX.Platform.CSharp.csproj", "{ED16D04E-5937-45BA-9739-66B6D44E711A}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MX.Platform.CSharp", "src\MX.Platform.CSharp\MX.Platform.CSharp.csproj", "{9D0CD6BE-A121-498B-A64A-3C884C61FC30}"
66
EndProject
77
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}"
88
EndProject
@@ -12,10 +12,10 @@ Global
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{ED16D04E-5937-45BA-9739-66B6D44E711A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{ED16D04E-5937-45BA-9739-66B6D44E711A}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{ED16D04E-5937-45BA-9739-66B6D44E711A}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{ED16D04E-5937-45BA-9739-66B6D44E711A}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{9D0CD6BE-A121-498B-A64A-3C884C61FC30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{9D0CD6BE-A121-498B-A64A-3C884C61FC30}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{9D0CD6BE-A121-498B-A64A-3C884C61FC30}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{9D0CD6BE-A121-498B-A64A-3C884C61FC30}.Release|Any CPU.Build.0 = Release|Any CPU
1919
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
2020
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
2121
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ namespace MyProject
4949
static void Main(string[] args)
5050
{
5151
Configuration config = new Configuration();
52-
config.DefaultHeaders = new Dictionary<string, string>;
52+
config.DefaultHeaders = new Dictionary<string, string>{{ "Accept", "application/vnd.mx.api.v1+json" }};
5353

5454
// Configure with your Client ID/API Key from https://dashboard.mx.com
5555
config.Username = "Your Client ID";

openapi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
---
22
packageName: MX.Platform.CSharp
3-
packageVersion: 0.3.6
3+
packageVersion: 0.3.7

src/MX.Platform.CSharp/Client/Configuration.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration
3131
/// Version of the package.
3232
/// </summary>
3333
/// <value>Version of the package.</value>
34-
public const string Version = "0.3.6";
34+
public const string Version = "0.3.7";
3535

3636
/// <summary>
3737
/// Identifier for ISO 8601 DateTime Format
@@ -101,7 +101,7 @@ public class Configuration : IReadableConfiguration
101101
public Configuration()
102102
{
103103
Proxy = null;
104-
UserAgent = "OpenAPI-Generator/0.3.6/csharp";
104+
UserAgent = "OpenAPI-Generator/0.3.7/csharp";
105105
BasePath = "https://api.mx.com";
106106
DefaultHeaders = new ConcurrentDictionary<string, string>();
107107
ApiKey = new ConcurrentDictionary<string, string>();
@@ -452,7 +452,7 @@ public static string ToDebugReport()
452452
report += " OS: " + System.Environment.OSVersion + "\n";
453453
report += " .NET Framework Version: " + System.Environment.Version + "\n";
454454
report += " Version of the API: 0.1.0\n";
455-
report += " SDK Package Version: 0.3.6\n";
455+
report += " SDK Package Version: 0.3.7\n";
456456

457457
return report;
458458
}

src/MX.Platform.CSharp/MX.Platform.CSharp.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Description>A library generated from a OpenAPI doc</Description>
1313
<Copyright>No Copyright</Copyright>
1414
<RootNamespace>MX.Platform.CSharp</RootNamespace>
15-
<Version>0.3.6</Version>
15+
<Version>0.3.7</Version>
1616
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\MX.Platform.CSharp.xml</DocumentationFile>
1717
<RepositoryUrl>https://github.com/GIT_USER_ID/GIT_REPO_ID.git</RepositoryUrl>
1818
<RepositoryType>git</RepositoryType>

0 commit comments

Comments
 (0)