After upgrading from 5.13.2 to 6.0.3 swagger-ui is not working

This request looks in conflict with the new pre-defined /api route which should only be used for ServiceStack APIs if enabled.

See this previous answer for how to change and disable the /api pre-defined route: