forked from loafle/openapi-generator-original
Merge pull request #1036 from wing328/csharp_add_back_dll
[C#] add back RestSharp and Newtonsoft.Json DLL
This commit is contained in:
commit
db10bd764b
Binary file not shown.
BIN
modules/swagger-codegen/src/main/resources/csharp/RestSharp.dll
Normal file
BIN
modules/swagger-codegen/src/main/resources/csharp/RestSharp.dll
Normal file
Binary file not shown.
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
This generator creates C# code targeting the .Net 2.0 framework. The resulting DLLs can be used in places where .Net 2.0 is the maximum supported version, such as in the Unity3d.
|
This generator creates C# code targeting the .Net 2.0 framework. The resulting DLLs can be used in places where .Net 2.0 is the maximum supported version, such as in the Unity3d.
|
||||||
|
|
||||||
## Compilation dependencies
|
## Dependencies
|
||||||
- Mono compiler
|
- Mono compiler
|
||||||
- Note: NuGet is downloaded by the mono compilation script and packages are installed with it. No dependency DLLs are bundled with this generator.
|
- Note: NuGet is downloaded by the mono compilation script and packages are installed with it. No dependency DLLs are bundled with this generator.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -235,7 +235,7 @@ namespace IO.Swagger.Client
|
|||||||
{
|
{
|
||||||
return JsonConvert.DeserializeObject(content, type);
|
return JsonConvert.DeserializeObject(content, type);
|
||||||
}
|
}
|
||||||
catch (IOException e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
throw new ApiException(500, e.Message);
|
throw new ApiException(500, e.Message);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user