swagger-api/swagger-codegen

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

Open

#4.757 geöffnet am 8. Feb. 2017

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (5.474 Forks)batch import
Issue: BugSwagger Codegen Maven Pluginhelp wanted

Repository-Metriken

Stars
 (12.701 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide