Wyoming City Attorney Scott Smith is retiring after six years serving as the city's first in-house legal advisor.