forked from loafle/openapi-generator-original
and move methods from base_object to each model so that model files will have no dependency when generating "models only"
and move methods from base_object to each model so that model files will have no dependency when generating "models only"