swagger-api/swagger-codegen

Generated code not compiled upon updating yaml file and doing mvn compile

开放

#4,757 创建于 2017年2月8日

 (3 条评论) (0 个反应) (0 位负责人)HTML (5,474 个派生)batch import
Issue: BugSwagger Codegen Maven Pluginhelp wanted

仓库指标

星标
 (12,701 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

I am following the issue which is currently closed. https://github.com/swagger-api/swagger-codegen/issues/4707

Here as per the suggestion it's not oveeridding the impl and generated codes. But now if I am updating the yaml file and want to compile it then it's not compiled.

  1. mvn clean install --- generating codes..
  2. Updated yaml file
  3. mvn compile --- skip overwrting to all the previous generated codes.

To make changes, do I need the fresh build by mvn clean compile every time? mvn compile is not working. Please suggest.

贡献者指南