Skip to content

Commit 01c9fe3

Browse files
committed
Add missing parameter to Kiota engine constructor
1 parent bb7dedd commit 01c9fe3

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • src/features/Riverside.CompilerPlatform.Features.Swagger

src/features/Riverside.CompilerPlatform.Features.Swagger/KiotaEngine.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System.Text;
1+
using System.Diagnostics.CodeAnalysis;
22

33
namespace Riverside.CompilerPlatform.Features.Swagger;
44

@@ -128,6 +128,7 @@ public partial class KiotaEngine
128128
/// <param name="l">The target programming language for code generation.</param>
129129
/// <param name="c">The name of the root class to be generated. Can be null to use a default class name.</param>
130130
/// <param name="tam">The access modifier to apply to generated types. Can be null to use the default accessibility.</param>
131+
/// <param name="n">The namespace for the generated client class. Can be null to use the default namespace.</param>
131132
/// <param name="ll">The log level to use for diagnostic output during generation. Can be null to use the default log level.</param>
132133
/// <param name="b">Indicates whether to use a backing store for generated models. If null, the default behavior is used.</param>
133134
/// <param name="ebc">Indicates whether to exclude backward compatible code from the output. If null, the default behavior is used.</param>
@@ -141,14 +142,16 @@ public partial class KiotaEngine
141142
/// <param name="dvr">An array of validation rules to disable during generation. Can be null to enable all rules.</param>
142143
/// <param name="cc">Indicates whether to clear the internal cache before generation. If null, the default behavior is used.</param>
143144
/// <param name="dsv">Indicates whether to disable SSL validation for network operations. If null, the default behavior is used.</param>
144-
public KiotaEngine(string? d, string? a, string? o, GenerationLanguage l, string? c, Accessibility? tam, ConsoleLogLevel? ll, bool? b, bool? ebc, bool? ad, string[]? s, string[]? ds, bool? co, string[]? m, string[]? i, string[]? e, ValidationRules[]? dvr, bool? cc, bool? dsv)
145+
[SetsRequiredMembers]
146+
public KiotaEngine(string? d, string? a, string? o, GenerationLanguage l, string? c, Accessibility? tam, string? n, ConsoleLogLevel? ll, bool? b, bool? ebc, bool? ad, string[]? s, string[]? ds, bool? co, string[]? m, string[]? i, string[]? e, ValidationRules[]? dvr, bool? cc, bool? dsv)
145147
{
146148
Path = d;
147149
Manifest = a;
148150
Output = o;
149151
Language = l;
150152
ClassName = c;
151153
TypeAccessModifier = tam;
154+
NamespaceName = n;
152155
LogLevel = ll;
153156
BackingStore = b;
154157
ExcludeBackwardCompatible = ebc;

0 commit comments

Comments
 (0)