Skip to content

Commit

Permalink
Update src/Kiota.Builder/Plugins/PluginsGenerationService.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Omondi <[email protected]>
  • Loading branch information
samwelkanda and andrueastman authored Nov 6, 2024
1 parent 0e3e099 commit 703eb08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kiota.Builder/Plugins/PluginsGenerationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public async Task GenerateManifestAsync(CancellationToken cancellationToken = de
var errors = OAIDocument.Validate(ruleSet)?.ToArray();
if (errors != null && errors.Length != 0)
{
var message = string.Join(Environment.NewLine, errors.Select(e => $"{e.Pointer}: {e.Message}"));
var message = string.Join(Environment.NewLine, errors.Select(static e => $"{e.Pointer}: {e.Message}"));
throw new InvalidOperationException($"OpenApi document validation failed with errors: {message}");
}

Expand Down

0 comments on commit 703eb08

Please sign in to comment.