Some fixes for Wordnik & Petstore examples

This commit is contained in:
Camille Chafer
2015-04-02 17:46:26 +02:00
parent 2ce55115a6
commit ef3811390f
8 changed files with 40 additions and 39 deletions

View File

@@ -15,4 +15,5 @@ public class CodegenResponse {
public Boolean isListContainer;
public Object schema;
public String jsonSchema;
public boolean isWildcard() { return "0".equals(code) || "default".equals(code); }
}