public class ApiBodyMetadata extends Object
| Constructor and Description |
|---|
ApiBodyMetadata(String name,
String schema,
com.sun.codemodel.JCodeModel codeModel) |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JCodeModel |
getCodeModel() |
com.sun.codemodel.JCodeModel |
getCodeModel(String basePackage,
String schemaLocation,
org.jsonschema2pojo.GenerationConfig config,
org.jsonschema2pojo.Annotator annotator)
Builds a JCodeModel for this body
|
String |
getName() |
String |
getSchema() |
boolean |
isArray() |
static void |
main(String[] args) |
public static void main(String[] args)
public String getName()
public String getSchema()
public com.sun.codemodel.JCodeModel getCodeModel()
public boolean isArray()
public com.sun.codemodel.JCodeModel getCodeModel(String basePackage, String schemaLocation, org.jsonschema2pojo.GenerationConfig config, org.jsonschema2pojo.Annotator annotator)
basePackage - The package we will be using for the domain objectsschemaLocation - The location of this schema, will be used to create absolute URIs for $ref tags eg "classpath:/"config - JsonSchema2Pojo configuration. if null a default config will be usedannotator - JsonSchema2Pojo annotator. if null a default annotator will be usedCopyright © 2017. All rights reserved.