OpenAPITools/openapi-generator

[GO][Server] Question: Life after generation

Open

#3.547 aberto em 2 de ago. de 2019

Ver no GitHub
 (7 comments) (4 reactions) (0 assignees)Java (7.516 forks)batch import
Enhancement: FeatureHacktoberfestServer: Gohelp wanted

Métricas do repositório

Stars
 (26.243 stars)
Métricas de merge de PR
 (Mesclagem média 9d 1h) (123 fundiu PRs em 30d)

Description

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?

Guia do colaborador