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