fix(gen:endpoint): fix some urls failing for api creation