forked from loafle/openapi-generator-original
make test invocations compileable #2549
This commit is contained in:
parent
89ee2b1c91
commit
e4f27bc7a7
@ -6,6 +6,7 @@ import {{invokerPackage}}.ApiException;
|
|||||||
{{#imports}}import {{import}};
|
{{#imports}}import {{import}};
|
||||||
{{/imports}}
|
{{/imports}}
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
import org.junit.Ignore;
|
||||||
|
|
||||||
{{^fullJavaUtil}}
|
{{^fullJavaUtil}}
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
@ -17,6 +18,7 @@ import java.util.Map;
|
|||||||
/**
|
/**
|
||||||
* API tests for {{classname}}
|
* API tests for {{classname}}
|
||||||
*/
|
*/
|
||||||
|
@Ignore
|
||||||
public class {{classname}}Test {
|
public class {{classname}}Test {
|
||||||
|
|
||||||
private final {{classname}} api = new {{classname}}();
|
private final {{classname}} api = new {{classname}}();
|
||||||
@ -35,7 +37,7 @@ public class {{classname}}Test {
|
|||||||
{{#allParams}}
|
{{#allParams}}
|
||||||
{{{dataType}}} {{paramName}} = null;
|
{{{dataType}}} {{paramName}} = null;
|
||||||
{{/allParams}}
|
{{/allParams}}
|
||||||
// {{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
{{#returnType}}{{{returnType}}} response = {{/returnType}}api.{{operationId}}({{#allParams}}{{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}});
|
||||||
|
|
||||||
// TODO: test validations
|
// TODO: test validations
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user