Rename codegen route to code to match API