The swagger format on #30349 is not right. This PR will fix it. (cherry picked from commit 8924d9b2efd52132876fcd106c625a2a2db7a295)
revive