0
我一直在努力與這一個了幾天。試圖確保我的控制器邏輯不會被覆蓋。生成python-flask服務器存根。揚鞭CODEGEN .swagger-CODEGEN-忽略不工作
招搖-CODEGEN版本:2.2.3
.swagger-CODEGEN-忽略內容
# Swagger Codegen Ignore
unity_controller.py
招搖-代碼生成生成-i ../tmp/swagger.yml -l蟒燒瓶 - Ø./
[main] INFO io.swagger.parser.Swagger20Parser - reading from ../tmp/swagger.yml
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/nctiggy/Syncplicity/DropBox/unity-sbux-hackathon/./swagger_server/models/unity_detail.py
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/nctiggy/Syncplicity/DropBox/unity-sbux-hackathon/./swagger_server/models/unity_summary.py
[main] INFO io.swagger.codegen.AbstractGenerator - writing file /Users/nctiggy/Syncplicity/DropBox/unity-sbux-hackathon/./swagger_server/controllers/unity_controller.py
[main] INFO io.swagger.codegen.DefaultGenerator - File exists. Skipped overwriting /Users/nctiggy/Syncplicity/DropBox/unity-sbux-hackathon/./swagger_server/test/test_unity_controller.py
我排除在外,因爲我不與有關方面正在編寫的文件的其餘部分。它看起來像它使用DefaultGenerator兌AbstractGenerator忽略作品爲一個測試文件。
任何幫助,將不勝感激!