more cleanup in swagger codegen.