mirror of
https://github.com/moby/moby.git
synced 2026-07-06 14:48:57 +00:00
Align our custom templates with the one from upstream; https://github.com/go-swagger/go-swagger/tree/v0.32.3/generator/templates - Add "TODO" comments in places where we applied patches to make it easier to compare with upstream, and to see where differences are intentional. - Update the server/operations.gotmpl template; - Add the "generated" header in the right place, so that it's recognized as generated file. - Add back the upstream template code; instead of removing the code, put a "if false" block around it; this allows comparing our forked templates with upstream when updating the version of go-swagger (to make sure we're not missing fixes). Signed-off-by: Sebastiaan van Stijn <github@gone.nl>