forked from loafle/openapi-generator-original
better csharp tests (#7727)
This commit is contained in:
@@ -11,10 +11,11 @@ using Xunit;
|
||||
using {{packageName}}.Client;
|
||||
using {{packageName}}.{{apiPackage}};
|
||||
{{#hasImport}}
|
||||
using {{packageName}}.{{modelPackage}};
|
||||
// uncomment below to import models
|
||||
//using {{packageName}}.{{modelPackage}};
|
||||
{{/hasImport}}
|
||||
|
||||
namespace {{packageName}}.Test
|
||||
namespace {{packageName}}.Test.Api
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for testing {{classname}}
|
||||
|
||||
@@ -14,7 +14,7 @@ using Newtonsoft.Json;
|
||||
|
||||
{{#models}}
|
||||
{{#model}}
|
||||
namespace {{packageName}}.Test
|
||||
namespace {{packageName}}.Test.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// Class for testing {{classname}}
|
||||
|
||||
Reference in New Issue
Block a user