| Package | Description |
|---|---|
| org.symphonyoss.s2.canon.model |
| Modifier and Type | Class and Description |
|---|---|
class |
Reference<T extends ModelElement> |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractContainerSchema |
class |
AbstractParameter |
class |
AbstractPayload |
class |
AbstractSchema
An abstract Schema object, which could be an object, reference to an object,
oneOf, allOf, or even a single field.
|
class |
AllOfSchema |
class |
ArraySchema
Schema for an array.
|
class |
BooleanType |
class |
Component |
class |
Components |
class |
DoubleType |
class |
EnumSchema |
class |
Field |
class |
IntegerType |
class |
Model |
class |
ObjectSchema
Schema for an object.
|
class |
OneOfSchema |
class |
Operation |
class |
Parameter |
class |
ParameterContainer |
class |
ParameterSets |
class |
PathItem |
class |
Paths |
class |
Payload |
class |
Reference<T extends ModelElement> |
class |
ReferenceOrSchema |
class |
ReferenceSchema
A schema defined as
{
"$ref": "#/some/URI"
}
In order to allow forward references these objects need to be first created and then
resolved in a second pass of the model. |
class |
Response |
class |
ResponseHeader |
class |
Schema |
class |
Schemas |
class |
StringType |
class |
Type |
class |
TypeDef |
class |
Version |
| Modifier and Type | Method and Description |
|---|---|
List<ModelElement> |
ModelElement.getChildren() |
List<ModelElement> |
ObjectSchema.getFields() |
List<ModelElement> |
ModelElement.getFields()
Return the fields of this object, for a normal object this is the same as
getChildren() for an AllOf it is something else.
|
List<ModelElement> |
AllOfSchema.getFields()
Return the fields of this object, for a normal object this is the same as
getChildren() for an AllOf it is the union of all the fields of all its references.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ModelElement.add(ModelElement e) |
protected void |
ModelElement.add(String name,
ModelElement element) |
String |
PathNameConstructor.constructFile(Map<String,Object> dataModel,
String language,
String templateName,
ModelElement modelElement) |
String |
JavaPathNameConstructor.constructFile(Map<String,Object> dataModel,
String language,
String templateName,
ModelElement modelElement) |
String |
IPathNameConstructor.constructFile(Map<String,Object> dataModel,
String language,
String templateName,
ModelElement modelElement) |
String |
PathNameConstructor.constructFile(String language,
Object directoryPath,
String templateName,
ModelElement modelElement,
String modelElementName) |
static ResponseHeader |
ResponseHeader.create(ModelElement methodSchema,
ParserContext paramContext) |
static Parameter |
Parameter.create(ModelElement methodSchema,
ParserContext paramContext) |
static AbstractSchema |
Field.create(ModelElement parent,
ParserContext context,
boolean required) |
AbstractSchema |
ISchemaFactory.create(ModelElement parent,
ParserContext context,
ParserContext node) |
static AbstractSchema |
Type.create(ModelElement parent,
ParserContext context,
ParserContext node,
String name) |
Copyright © 2018 Symphony Software Foundation. All rights reserved.