Open ghost opened 1 year ago
Goal: Add Docker compatibility to NSwag
Issue: .dockerignore has [Oo]bj/ entry which prevents files inside that directory from being copied over to the build image.
.dockerignore
[Oo]bj/
This makes sense because we only want source code in the build image.
Unfortunately NSwag defaults HTTP client generation to obj/swaggerClient.cs.
obj/swaggerClient.cs
The ask:
obj/
gen/swaggerClient.cs
Bump
Goal: Add Docker compatibility to NSwag
Issue:
.dockerignore
has[Oo]bj/
entry which prevents files inside that directory from being copied over to the build image.This makes sense because we only want source code in the build image.
Unfortunately NSwag defaults HTTP client generation to
obj/swaggerClient.cs
.The ask:
obj/swaggerClient.cs
customizable to a folder outsideobj/
?obj/swaggerClient.cs
to a better location i.e.gen/swaggerClient.cs
.