From 080e302c63a1d9371c82a4df49e586871dbbe91f Mon Sep 17 00:00:00 2001 From: wing328 Date: Thu, 5 Nov 2015 22:47:53 +0800 Subject: [PATCH] fix csharp import for file in model files --- .../src/main/resources/csharp/model.mustache | 1 + .../main/csharp/IO/Swagger/Model/Category.cs | 1 + .../src/main/csharp/IO/Swagger/Model/Order.cs | 1 + .../src/main/csharp/IO/Swagger/Model/Pet.cs | 1 + .../src/main/csharp/IO/Swagger/Model/Tag.cs | 1 + .../src/main/csharp/IO/Swagger/Model/User.cs | 1 + .../bin/Debug/SwaggerClientTest.dll.mdb | Bin 18999 -> 18999 bytes .../obj/Debug/SwaggerClientTest.dll.mdb | Bin 18999 -> 18999 bytes 8 files changed, 6 insertions(+) diff --git a/modules/swagger-codegen/src/main/resources/csharp/model.mustache b/modules/swagger-codegen/src/main/resources/csharp/model.mustache index 99da4f8302..d40ece4cc0 100644 --- a/modules/swagger-codegen/src/main/resources/csharp/model.mustache +++ b/modules/swagger-codegen/src/main/resources/csharp/model.mustache @@ -1,4 +1,5 @@ using System; +using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Category.cs b/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Category.cs index c402188b9f..56ebfdb3b7 100644 --- a/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Category.cs +++ b/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Category.cs @@ -1,4 +1,5 @@ using System; +using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Order.cs b/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Order.cs index 07b3d14e59..1fa62c1605 100644 --- a/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Order.cs +++ b/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Order.cs @@ -1,4 +1,5 @@ using System; +using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Pet.cs b/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Pet.cs index 41216b5280..37c8025994 100644 --- a/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Pet.cs +++ b/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Pet.cs @@ -1,4 +1,5 @@ using System; +using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Tag.cs b/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Tag.cs index 10ace1ad18..7d2ea38833 100644 --- a/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Tag.cs +++ b/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/Tag.cs @@ -1,4 +1,5 @@ using System; +using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/User.cs b/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/User.cs index d22ac54c09..5430d1182c 100644 --- a/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/User.cs +++ b/samples/client/petstore/csharp/SwaggerClientTest/Lib/SwaggerClient/src/main/csharp/IO/Swagger/Model/User.cs @@ -1,4 +1,5 @@ using System; +using System.IO; using System.Text; using System.Collections; using System.Collections.Generic; diff --git a/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/SwaggerClientTest.dll.mdb b/samples/client/petstore/csharp/SwaggerClientTest/bin/Debug/SwaggerClientTest.dll.mdb index 1a9c96751ba6290fd50c539ee4bd6b9d4a4deced..f63c1d21fe32bf28941f603b407f4784e17247ab 100644 GIT binary patch delta 1148 zcmY+COH31C6ov0lpfjBXh!i5NKzS^n6iQei3l)PQ8WN2OooT0!8I-s%K?UPlKvd)< z@DpLdBZ44_SPE!}iJ*}R#3-UsL&Dn#E>x6mLonO5KRS!g;?|3 zTZ;~6Uu=C@*?FqxjA2);QHBKH!YJ#h#GLx5TP+Ou} zs}VP%lui@$np_@@0KZG8<+WHenV3POA(dW#MK&gT8E`RujBG*f7?Up;7-hyVl`JF3 zX$EGPSzj7Ot}?L3tYaD@KCdNjuu#t4WWBx;)sZbMw6bj?)p~M}iUe_3M-H&?kbQ)Q z6VRky?MRi4=2=)^7qKQ$9r=reO?C^@1LEv{veFDy=4!L|QHjQocg)ak?(k6D1gXeG zSxI?>8FePS-J5xW~}X-JVGmYI^Gmj7BUJ?wy|j%N;eo0iLrq~AN> zgX7~aMTIG9i&S0|UCcuXU&?zoBpOHG=An^q!c?j)lJ4Q*0q^vsvGj8uMtC=-Ml|pF z9;wV|dWDA{{73avQdIZ7OI8UxX=F^4!eph`9D`wx0?_hJA5 delta 1148 zcmY+CT}V@L7{=e@bUSC~#x|z3mUC0VoO4si=pqa(2qc1V=WJ&m=Op%dQHXclPso>;2s$%(AHa8=qoM8;}1wKwvIZWU@y z841-z``6=;j|dglGe&lrtXcvHB38AO3*T~=b0Go%B2@~B8dN0?D0P%MLR62MQ*;Ks zxM5WJ9nj?n1T_L83iISOGnz=*Ph=pq#d1kDCc792Fx`x7L2en7&lwnH#xRvE_2fqe zrkLq)Y9xO$u)?fjY7(C}kXKl!U@O^>uS8AcZ5HmZ%_21fbC8N;ao9xmu<)4e#ly*H z!lLupWusXZ=Gb|xNz_EHv9Qi=V7gD7-A!I|LY1@H8G2NrX0pWztyk zf?!d5s)f*^x2ZapTq!l@f_c{`mux{Pq~!6`x(ha3zr$$~RmDLySHp#7rHp#2m4i0! z?lwhPR-IJ}nnbmJrj!3#13l=2A>UJFec=1cg{hC~zT>pV2_O_)lx#nBIVc*y(1X#)L>hhcsMQyZEMevedU zJiW}rcm4;~GR2DH=rRGyh08+d%}ivn>wE`9Z5JI7pj&u^HHpU4qXLWxFEBkU`%DQi mEzE?|1bRh)RpD2V;-k=tqrsyjBEMaU2JJb-*&cPeb?1MBQuN;d diff --git a/samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/SwaggerClientTest.dll.mdb b/samples/client/petstore/csharp/SwaggerClientTest/obj/Debug/SwaggerClientTest.dll.mdb index 1a9c96751ba6290fd50c539ee4bd6b9d4a4deced..f63c1d21fe32bf28941f603b407f4784e17247ab 100644 GIT binary patch delta 1148 zcmY+COH31C6ov0lpfjBXh!i5NKzS^n6iQei3l)PQ8WN2OooT0!8I-s%K?UPlKvd)< z@DpLdBZ44_SPE!}iJ*}R#3-UsL&Dn#E>x6mLonO5KRS!g;?|3 zTZ;~6Uu=C@*?FqxjA2);QHBKH!YJ#h#GLx5TP+Ou} zs}VP%lui@$np_@@0KZG8<+WHenV3POA(dW#MK&gT8E`RujBG*f7?Up;7-hyVl`JF3 zX$EGPSzj7Ot}?L3tYaD@KCdNjuu#t4WWBx;)sZbMw6bj?)p~M}iUe_3M-H&?kbQ)Q z6VRky?MRi4=2=)^7qKQ$9r=reO?C^@1LEv{veFDy=4!L|QHjQocg)ak?(k6D1gXeG zSxI?>8FePS-J5xW~}X-JVGmYI^Gmj7BUJ?wy|j%N;eo0iLrq~AN> zgX7~aMTIG9i&S0|UC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