Created
April 2, 2013 02:49
-
-
Save fehguy/5289573 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DocumentationObject obj = new DocumentationObject(); | |
obj.setName("Manual"); | |
obj.addField(new DocumentationParameter( | |
"fieldA", // attribute name | |
"The field of Manual", // description, optional | |
"Notes", // notes about this field, optional | |
"String", // the attribute type | |
null, // default value, null if none | |
null, // allowable values, null if none | |
false, // required | |
false // allows mutliple | |
)); | |
String className = ManualMappedObject.getClass().getName(); | |
ApiPropertiesReader.add(className, "MyManualMappedObject", obj); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment