2 references to ApprovedExtensions
dotnet-openapi (2)
Commands\AddFileCommand.cs (2)
41if (!ApprovedExtensions.Any(e => sourceFile.EndsWith(e, StringComparison.Ordinal))) 43await Warning.WriteLineAsync($"The extension for the given file '{sourceFile}' should have been one of: {string.Join(",", ApprovedExtensions)}.");