Skip to content

Commit 0119a66

Browse files
committed
1 parent 89741c7 commit 0119a66

File tree

4 files changed

+23
-16
lines changed

4 files changed

+23
-16
lines changed

modules/swagger-codegen/src/main/resources/csharp/README.mustache

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,16 @@ No model defined in this package
128128

129129
## Documentation for Authorization
130130

131-
<a name="{{#authMethods}}{{name}}"></a>
132-
{{^authMethods}} All endpoints do not require authorization.
133-
{{/authMethods}}{{#authMethods}}{{#last}} Authentication schemes defined for the API:{{/last}}{{/authMethods}}
134-
{{#authMethods}}### {{name}}
131+
{{^authMethods}}
132+
All endpoints do not require authorization.
133+
{{/authMethods}}
134+
{{#authMethods}}
135+
{{#last}}
136+
Authentication schemes defined for the API:
137+
{{/last}}
138+
{{/authMethods}}
139+
{{#authMethods}}
140+
### {{name}}
135141

136142
{{#isApiKey}}- **Type**: API key
137143
- **API key parameter name**: {{keyParamName}}

samples/client/petstore/csharp/SwaggerClient/IO.Swagger.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 2012
33
VisualStudioVersion = 12.0.0.0
44
MinimumVisualStudioVersion = 10.0.0.1
5-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger", "src\IO.Swagger\IO.Swagger.csproj", "{9391D4F3-E89A-41F1-B1C9-A9C885B3F96D}"
5+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger", "src\IO.Swagger\IO.Swagger.csproj", "{CD9F0463-DC9D-458F-A59D-A72DB4583934}"
66
EndProject
77
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "IO.Swagger.Test", "src\IO.Swagger.Test\IO.Swagger.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
88
EndProject
@@ -12,10 +12,10 @@ Debug|Any CPU = Debug|Any CPU
1212
Release|Any CPU = Release|Any CPU
1313
EndGlobalSection
1414
GlobalSection(ProjectConfigurationPlatforms) = postSolution
15-
{9391D4F3-E89A-41F1-B1C9-A9C885B3F96D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16-
{9391D4F3-E89A-41F1-B1C9-A9C885B3F96D}.Debug|Any CPU.Build.0 = Debug|Any CPU
17-
{9391D4F3-E89A-41F1-B1C9-A9C885B3F96D}.Release|Any CPU.ActiveCfg = Release|Any CPU
18-
{9391D4F3-E89A-41F1-B1C9-A9C885B3F96D}.Release|Any CPU.Build.0 = Release|Any CPU
15+
{CD9F0463-DC9D-458F-A59D-A72DB4583934}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
16+
{CD9F0463-DC9D-458F-A59D-A72DB4583934}.Debug|Any CPU.Build.0 = Debug|Any CPU
17+
{CD9F0463-DC9D-458F-A59D-A72DB4583934}.Release|Any CPU.ActiveCfg = Release|Any CPU
18+
{CD9F0463-DC9D-458F-A59D-A72DB4583934}.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

samples/client/petstore/csharp/SwaggerClient/README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
# IO.Swagger - the C# library for the Swagger Petstore
22

3-
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
3+
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
44

55
This C# SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
66

77
- API version: 1.0.0
88
- SDK version: 1.0.0
9-
- Build date: 2016-06-23T12:09:14.609+08:00
9+
- Build date: 2016-07-10T16:55:14.469+08:00
1010
- Build package: class io.swagger.codegen.languages.CSharpClientCodegen
1111

1212
## Frameworks supported
1313
- .NET 4.0 or later
1414
- Windows Phone 7.1 (Mango)
1515

1616
## Dependencies
17-
- [RestSharp] (https://www.nuget.org/packages/RestSharp) - 105.1.0 or later
18-
- [Json.NET] (https://www.nuget.org/packages/Newtonsoft.Json/) - 7.0.0 or later
17+
- [RestSharp](https://www.nuget.org/packages/RestSharp) - 105.1.0 or later
18+
- [Json.NET](https://www.nuget.org/packages/Newtonsoft.Json/) - 7.0.0 or later
1919

2020
The DLLs included in the package may not be the latest version. We recommned using [NuGet] (https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
2121
```
@@ -81,6 +81,7 @@ namespace Example
8181
}
8282
```
8383

84+
<a name="documentation-for-api-endpoints"></a>
8485
## Documentation for API Endpoints
8586

8687
All URIs are relative to *http://petstore.swagger.io/v2*
@@ -111,6 +112,7 @@ Class | Method | HTTP request | Description
111112
*UserApi* | [**UpdateUser**](docs/UserApi.md#updateuser) | **PUT** /user/{username} | Updated user
112113

113114

115+
<a name="documentation-for-models"></a>
114116
## Documentation for Models
115117

116118
- [Model.AdditionalPropertiesClass](docs/AdditionalPropertiesClass.md)
@@ -143,7 +145,6 @@ Class | Method | HTTP request | Description
143145

144146
## Documentation for Authorization
145147

146-
147148
### api_key
148149

149150
- **Type**: API key

samples/client/petstore/csharp/SwaggerClient/src/IO.Swagger/IO.Swagger.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<!--
33
Swagger Petstore
44
5-
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
5+
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
66
77
OpenAPI spec version: 1.0.0
88
@@ -24,7 +24,7 @@ limitations under the License.
2424
<PropertyGroup>
2525
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
2626
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
27-
<ProjectGuid>{9391D4F3-E89A-41F1-B1C9-A9C885B3F96D}</ProjectGuid>
27+
<ProjectGuid>{CD9F0463-DC9D-458F-A59D-A72DB4583934}</ProjectGuid>
2828
<OutputType>Library</OutputType>
2929
<AppDesignerFolder>Properties</AppDesignerFolder>
3030
<RootNamespace>Swagger Library</RootNamespace>

0 commit comments

Comments
 (0)