Hi Daniel

Could you explain more about it?
If the Swagger yaml is generated from the code, it's make sense that
we don't put this yaml files into VCS.
But if we write the Swagger yaml file by hand, I think we need to keep
the track of all the changes.


Willem Jiang

Twitter: willemjiang
Weibo: 姜宁willem

On Sun, Dec 22, 2019 at 8:52 PM Daniel Qian <chanjars...@gmail.com> wrote:
>
> Hi toolkit guys,
>
> OpenAPI/Swagger yaml is a good standard to describe the APIs, but it's
> easy to get hundreds, even thousands lines in the file. That becomes
> hard to maintain and easy to get into the VCS conflict situation.
> How do you guys solve this problem in real development? I've heard
> that some teams use template engine to merge snippets into a final
> yaml.
> May be toolkit can do something helpful to make the life easier. Any ideas?
>
> --
> Daniel Qian
> Apache Committer(chanjarster)
> blog:https://chanjarster.github.io
> github:https://github.com/chanjarster
> segmentfault: https://segmentfault.com/u/chanjarster

Reply via email to