David Gaskill Swaim (1834–1897) was Judge Advocate General of the United States Army from February 18, 1881 to December 22, 1894.