-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[csharp C#] cleanup documentation (#15305)
* [C# csharp] fix documentation of API authorization in README files fix hierarchy level + add internal links + align wording across generators * [C# csharp] fix anchor links in documentation
- Loading branch information
1 parent
ef5dc1c
commit f9937e7
Showing
109 changed files
with
760 additions
and
765 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,19 +16,19 @@ This C# SDK is automatically generated by the [OpenAPI Generator](https://openap | |
For more information, please visit [{{{infoUrl}}}]({{{infoUrl}}}) | ||
{{/infoUrl}} | ||
|
||
<a name="version-support"></a> | ||
<a id="version-support"></a> | ||
## Version support | ||
This generator should support all current LTS versions of Unity | ||
- Unity 2020.3 (LTS) and up | ||
- .NET Standard 2.1 / .NET Framework | ||
|
||
<a name="dependencies"></a> | ||
<a id="dependencies"></a> | ||
## Dependencies | ||
|
||
- [Newtonsoft.Json](https://docs.unity3d.com/Packages/[email protected]/manual/index.html) - 3.0.2 or later | ||
- [Unity Test Framework](https://docs.unity3d.com/Packages/[email protected]/manual/index.html) - 1.1.33 or later | ||
|
||
<a name="installation"></a> | ||
<a id="installation"></a> | ||
## Installation | ||
Add the dependencies to `Packages/manifest.json` | ||
``` | ||
|
@@ -48,7 +48,7 @@ using {{packageName}}.Client; | |
using {{packageName}}.{{modelPackage}}; | ||
``` | ||
|
||
<a name="getting-started"></a> | ||
<a id="getting-started"></a> | ||
## Getting Started | ||
|
||
```csharp | ||
|
@@ -123,7 +123,7 @@ namespace {{packageName}}Example | |
} | ||
``` | ||
|
||
<a name="documentation-for-api-endpoints"></a> | ||
<a id="documentation-for-api-endpoints"></a> | ||
## Documentation for API Endpoints | ||
|
||
All URIs are relative to *{{{basePath}}}* | ||
|
@@ -133,7 +133,7 @@ Class | Method | HTTP request | Description | |
{{#apiInfo}}{{#apis}}{{#operations}}{{#operation}}*{{classname}}* | [**{{operationId}}**]({{apiDocPath}}{{classname}}.md#{{operationIdLowerCase}}) | **{{httpMethod}}** {{path}} | {{{summary}}} | ||
{{/operation}}{{/operations}}{{/apis}}{{/apiInfo}} | ||
|
||
<a name="documentation-for-models"></a> | ||
<a id="documentation-for-models"></a> | ||
## Documentation for Models | ||
|
||
{{#modelPackage}} | ||
|
@@ -144,19 +144,13 @@ Class | Method | HTTP request | Description | |
No model defined in this package | ||
{{/modelPackage}} | ||
|
||
<a name="documentation-for-authorization"></a> | ||
<a id="documentation-for-authorization"></a> | ||
## Documentation for Authorization | ||
|
||
{{^authMethods}} | ||
All endpoints do not require authorization. | ||
{{/authMethods}} | ||
{{#authMethods}} | ||
{{#last}} | ||
Authentication schemes defined for the API: | ||
{{/last}} | ||
{{/authMethods}} | ||
{{^authMethods}}Endpoints do not require authorization.{{/authMethods}} | ||
{{#hasAuthMethods}}Authentication schemes defined for the API:{{/hasAuthMethods}} | ||
{{#authMethods}} | ||
<a name="{{name}}"></a> | ||
<a id="{{name}}"></a> | ||
### {{name}} | ||
|
||
{{#isApiKey}}- **Type**: API key | ||
|
Oops, something went wrong.