Skip to content

Commit ef74c4f

Browse files
committed
fully compilable raw client
1 parent 81c7a62 commit ef74c4f

File tree

108 files changed

+43283
-4275
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+43283
-4275
lines changed

build/generate-raw-client/api.csx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ public class RestApiSpec {
1111
public IDictionary<string, ApiEndpoint> Endpoints { get; set; }
1212

1313
public IList<ApiQueryParameters> ApiQueryParameters { get; set; }
14+
15+
public IDictionary<CsharpMethod> MethodsThatNeedDescriptors
16+
{
17+
get
18+
{
19+
return from m in this.SelectMany
20+
select m;
21+
}
22+
}
1423
}
1524

1625
public class ApiEndpoint {
@@ -30,7 +39,7 @@ public class ApiEndpoint {
3039
return Extensions.DistinctBy(this.CsharpMethods.ToList(), m=> m.ReturnType + "--" + m.FullName + "--" + m.Arguments);
3140
}
3241

33-
public IDictionary<string>
42+
3443

3544
public IEnumerable<CsharpMethod> CsharpMethods {
3645
get

build/generate-raw-client/app.csx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,4 @@ using System.Net;
44
using CsQuery;
55
using Newtonsoft.Json;
66

7-
var spec = ApiGenerator.GetRestSpec();
87

9-
ApiGenerator.GenerateClientInterface(spec);
10-
11-
ApiGenerator.GenerateQueryStringParameters(spec);
12-
13-
Console.WriteLine("Found {0} api documentation endpoints", spec.Endpoints.Count());
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3+
<metadata>
4+
<id>CsQuery</id>
5+
<version>1.3.4</version>
6+
<title>CsQuery</title>
7+
<authors>James Treworgy</authors>
8+
<owners>James Treworgy</owners>
9+
<licenseUrl>https://github.com/jamietre/CsQuery/blob/master/LICENSE.txt</licenseUrl>
10+
<projectUrl>https://github.com/jamietre/CsQuery/</projectUrl>
11+
<iconUrl>http://www.outsharked.com/csquery/images/csquery-icon-large.gif</iconUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<description>CsQuery is an HTML parser, CSS selector engine and jQuery port for .NET 4 and C#. It implements all CSS2 and CSS3 selectors, all the DOM manipulation methods of jQuery, and some of the utility methods.</description>
14+
<summary>A complete CSS selector engine and jQuery port for .NET 4 and C#.</summary>
15+
<releaseNotes>Version 1.3 is a major release. It implements a new C# port of the validator.nu HTML5 parser, a fully HTML5 compliant HTML parser.
16+
17+
Version 1.3.2 now handles the character set encoding properly when using HTTP get methods, as well as an encoding specified in META tags. It also contains bug fixes.
18+
19+
Complete change log:
20+
https://github.com/jamietre/CsQuery/blob/master/source/README.md</releaseNotes>
21+
<copyright>Copyright 2012</copyright>
22+
<language />
23+
<tags>jquery html</tags>
24+
</metadata>
25+
</package>

0 commit comments

Comments
 (0)