As I understand the routes generation was intended to be disabled only for this command, which defines the model attributes:
strapi generate:api {api-name} name:string description:text --plugin {plugin-name}
But it also disabled the route generation for this command:
strapi generate:api {api-name} --plugin {plugin-name} - Creating another API inside the existing plugin, in that case, no models attributes were specified here.