Skip to content

Commit f07ac33

Browse files
author
David Ronk
committed
Set csharp agent to 2.0.0
1 parent 9ba408c commit f07ac33

File tree

5 files changed

+16
-9
lines changed

5 files changed

+16
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### 2.0.0 [July 31, 2020]
2+
* add support for hosted documents
3+
* upgrade to latest swagger 2.4.14
4+
* **BREAKING CHANGE**: renamed AsyncDocStatus to DocStatus
5+
* **BREAKING CHANGE**: constructor argument casing
6+
17
### 1.1.1 [June 7, 2017]
28
* Update RestSharp Dependency to 105.2.3
39

DocRaptor.nuspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<id>DocRaptor</id>
55
<title>DocRaptor</title>
6-
<version>1.1.1</version>
6+
<version>2.0.0</version>
77
<authors>Expected Behavior</authors>
88
<owners>Expected Behavior</owners>
99
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
@@ -14,7 +14,8 @@
1414
<tags>DocRaptor, API, HTML, PDF, XLS, XLSX </tags>
1515
<dependencies>
1616
<dependency id="RestSharp" version="105.2.3" />
17-
<dependency id="Newtonsoft.Json" version="8.0.2" />
17+
<dependency id="Newtonsoft.Json" version="10.0.3" />
18+
<dependency id="JsonSubTypes" version="1.2.0" />
1819
</dependencies>
1920
</metadata>
2021
<files>

src/DocRaptor/Client/Configuration.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class Configuration : IReadableConfiguration
2929
/// Version of the package.
3030
/// </summary>
3131
/// <value>Version of the package.</value>
32-
public const string Version = "1.1.1";
32+
public const string Version = "2.0.0";
3333

3434
/// <summary>
3535
/// Identifier for ISO 8601 DateTime Format
@@ -114,7 +114,7 @@ static Configuration()
114114
/// </summary>
115115
public Configuration()
116116
{
117-
UserAgent = "Swagger-Codegen/1.1.1/csharp";
117+
UserAgent = "Swagger-Codegen/2.0.0/csharp";
118118
BasePath = "https://docraptor.com";
119119
DefaultHeader = new ConcurrentDictionary<string, string>();
120120
ApiKey = new ConcurrentDictionary<string, string>();
@@ -187,7 +187,7 @@ public Configuration(
187187
string tempFolderPath = null,
188188
string dateTimeFormat = null,
189189
int timeout = 100000,
190-
string userAgent = "Swagger-Codegen/1.1.1/csharp"
190+
string userAgent = "Swagger-Codegen/2.0.0/csharp"
191191
// ReSharper restore UnusedParameter.Local
192192
)
193193
{
@@ -422,7 +422,7 @@ public static String ToDebugReport()
422422
report += " OS: " + System.Environment.OSVersion + "\n";
423423
report += " .NET Framework Version: " + System.Environment.Version + "\n";
424424
report += " Version of the API: 2.0.0\n";
425-
report += " SDK Package Version: 1.1.1\n";
425+
report += " SDK Package Version: 2.0.0\n";
426426

427427
return report;
428428
}

src/DocRaptor/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@
2828
// You can specify all the values or you can default the Build and Revision Numbers
2929
// by using the '*' as shown below:
3030
// [assembly: AssemblyVersion("1.0.*")]
31-
[assembly: AssemblyVersion("1.1.1")]
32-
[assembly: AssemblyFileVersion("1.1.1")]
31+
[assembly: AssemblyVersion("2.0.0")]
32+
[assembly: AssemblyFileVersion("2.0.0")]

swagger-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"packageName": "DocRaptor",
3-
"packageVersion": "1.1.1",
3+
"packageVersion": "2.0.0",
44
"targetFramework": "v4.5",
55
"modelPropertyNaming": "PascalCase"
66
}

0 commit comments

Comments
 (0)