OpenAPITools/openapi-generator

[GO][Server] Question: Life after generation

オープン

#3,547 opened on 2019/08/02

 (7 件のコメント) (4 件のリアクション) (0 人の担当者)Java (7,516 件のフォーク)batch import
Enhancement: FeatureHacktoberfestServer: Gohelp wanted

Repository metrics

Stars
 (26,243 個のスター)
PR merge metrics
 (PR metrics pending)

説明

What is the recommended flow after generation server? Should I change code under ./go folder? Or I need to override Api methods in my own files? Would the interface generation, in this case, be a better solution?

I guess that maybe one of the ways is the implementation of logic in a particular file and adding a file to the .openapi-generator-ignore, but how in this case will the update occur if the specification YAML changes?

I have tried https://github.com/mikkeloscar/gin-swagger before. I'd like this approach. Should we try to implement it here?

コントリビューターガイド