mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 19:08:52 +00:00
Fixed missing isWildcard method used in templates (#5714)
This commit is contained in:
parent
424a70bd8c
commit
009a039fc5
@ -23,6 +23,10 @@ public class CodegenResponse {
|
|||||||
public String jsonSchema;
|
public String jsonSchema;
|
||||||
public Map<String, Object> vendorExtensions;
|
public Map<String, Object> vendorExtensions;
|
||||||
|
|
||||||
|
public boolean isWildcard() {
|
||||||
|
return "0".equals(code) || "default".equals(code);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return String.format("%s(%s)", code, containerType);
|
return String.format("%s(%s)", code, containerType);
|
||||||
|
Loading…
Reference in New Issue
Block a user