-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add interfaces to OpenSearchClient's namespaces API specifications (f…
…ixes #423) (#646) * Add interfaces to OpenSearchClient namespaces (#423) Signed-off-by: Spencer G. Jones <spencer.jones2@tylertech.com> * Add interface for Http namespace too (#423) Signed-off-by: Spencer G. Jones <spencer.jones2@tylertech.com> * Update CHANGELOG and UPGRADING (#423) Signed-off-by: Spencer G. Jones <spencer.jones2@tylertech.com> * Adjust CHANGELOG and UPGRADING updates (#423) Signed-off-by: Spencer G. Jones <spencer.jones2@tylertech.com> --------- Signed-off-by: Spencer G. Jones <spencer.jones2@tylertech.com>
- Loading branch information
Showing
21 changed files
with
3,736 additions
and
35 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
5 changes: 5 additions & 0 deletions
5
src/ApiGenerator/Views/HighLevel/Client/FluentSyntax/FluentInterfaceMethod.cshtml
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@using System | ||
@using ApiGenerator.Domain.Code.HighLevel.Methods | ||
@inherits ApiGenerator.CodeTemplatePage<FluentSyntaxView> | ||
@{ await IncludeAsync("HighLevel/Client/MethodXmlDocs.cshtml", Model.Syntax); } | ||
@{ await IncludeAsync("HighLevel/Client/FluentSyntax/FluentMethodHeader.cshtml", Model);}@Raw(";") |
19 changes: 19 additions & 0 deletions
19
src/ApiGenerator/Views/HighLevel/Client/Implementation/MethodInterface.cshtml
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@using ApiGenerator | ||
@using ApiGenerator.Domain.Code.HighLevel.Methods | ||
@using HighLevelModel = ApiGenerator.Domain.Code.HighLevel.Methods.HighLevelModel | ||
@inherits CodeTemplatePage<HighLevelModel> | ||
@{ | ||
const string fluentPath = "HighLevel/Client/FluentSyntax/FluentInterfaceMethod.cshtml"; | ||
const string initializerPath = "HighLevel/Client/InitializerSyntax/InitializerInterfaceMethod.cshtml"; | ||
} | ||
@{ await IncludeAsync(fluentPath, new FluentSyntaxView(Model.Fluent, async: false)); } | ||
@{ await IncludeAsync(fluentPath, new FluentSyntaxView(Model.Fluent, async: true)); } | ||
@if (Model.FluentBound != null) | ||
{ | ||
<text> | ||
@{ await IncludeAsync(fluentPath, new FluentSyntaxView(Model.FluentBound, async: false)); } | ||
@{ await IncludeAsync(fluentPath, new FluentSyntaxView(Model.FluentBound, async: true)); } | ||
</text> | ||
} | ||
@{ await IncludeAsync(initializerPath, new InitializerSyntaxView(Model.Initializer, async: false)); } | ||
@{ await IncludeAsync(initializerPath, new InitializerSyntaxView(Model.Initializer, async: true)); } |
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
6 changes: 6 additions & 0 deletions
6
src/ApiGenerator/Views/HighLevel/Client/InitializerSyntax/InitializerInterfaceMethod.cshtml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@using System | ||
@using ApiGenerator.Domain.Code.HighLevel.Methods | ||
@inherits ApiGenerator.CodeTemplatePage<InitializerSyntaxView> | ||
@{ await IncludeAsync("HighLevel/Client/MethodXmlDocs.cshtml", Model.Syntax); } | ||
@{ await IncludeAsync("HighLevel/Client/InitializerSyntax/InitializerMethodHeader.cshtml", Model); }@Raw(";") | ||
|
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
Oops, something went wrong.