Files
openapi-generator/modules/swagger-codegen/src/main/resources/csharp/ExceptionFactory.mustache
wing328 bca3d24d20 fix test cases, fix warning in exceptionfactory, update
.swagger-codegen-ignore for c# to keep logo file (for upload test)
2016-06-12 12:41:35 +08:00

16 lines
407 B
Plaintext

{{>partial_header}}
using System;
using RestSharp;
namespace {{packageName}}.Client
{
/// <summary>
/// A delegate to ExceptionFactory method
/// </summary>
/// <param name="methodName">Method name</param>
/// <param name="response">Response</param>
/// <returns>Exceptions</returns>
public delegate Exception ExceptionFactory(string methodName, IRestResponse response);
}