-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better handle multi-type schemas (#814)
Signed-off-by: Thomas Farr <[email protected]> (cherry picked from commit 49f4b01)
- Loading branch information
Showing
7 changed files
with
43 additions
and
43 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
18 changes: 3 additions & 15 deletions
18
src/ApiGenerator/Views/HighLevel/Requests/PlainRequestBase.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 |
---|---|---|
@@ -1,21 +1,9 @@ | ||
@using ApiGenerator.Domain | ||
@inherits ApiGenerator.CodeTemplatePage<RestApiSpec> | ||
@{ await IncludeLegacyGeneratorNotice(); } | ||
// ReSharper disable RedundantUsingDirective | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Linq.Expressions; | ||
using System.Runtime.Serialization; | ||
using OpenSearch.Net; | ||
using OpenSearch.Net.Utf8Json; | ||
@{ await IncludeAsync("LowLevel/Client/Usings.cshtml", Model);} | ||
|
||
// ReSharper disable UnusedTypeParameter | ||
namespace OpenSearch.Client | ||
namespace OpenSearch.Client; | ||
|
||
public abstract partial class @Raw("PlainRequestBase<TParameters>") | ||
{ | ||
public abstract partial class @Raw("PlainRequestBase<TParameters>") | ||
{ | ||
} | ||
} |
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