5 references to Warning
dotnet-openapi (5)
Commands\AddFileCommand.cs (2)
43
await
Warning
.WriteLineAsync($"The extension for the given file '{sourceFile}' should have been one of: {string.Join(",", ApprovedExtensions)}.");
44
await
Warning
.WriteLineAsync($"The reference has been added, but may fail at build-time if the format is not correct.");
Commands\BaseCommand.cs (2)
160
Warning
.Write($"One or more references to {sourceFile} already exist in '{project.FullPath}'. Duplicate references could lead to unexpected behavior.");
169
Warning
.Write($"A reference to '{sourceUrl}' already exists in '{project.FullPath}'.");
Commands\RemoveCommand.cs (1)
69
Warning
.Write($"No OpenAPI reference was found with the file '{sourceFile}'");