public class RestObjectHandler extends Object implements SchemaHandler
org.mule.metadata.json.api.handler.ObjectHandler that supports the custom logic required to
propagate the composer metadata fields from the Json Schema to the extension model.
This class does not respect the actual standard of how the extension model works, and can be understood by composer by
convention.
This should be removed once metadata model has proper support for custom annotations.| Modifier and Type | Field and Description |
|---|---|
static String |
CUSTOM_JSON_PROPERTY_PREFIX |
static String |
PROPERTY_ORDER |
| Constructor and Description |
|---|
RestObjectHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.mule.metadata.api.builder.TypeBuilder<?> |
handle(org.everit.json.schema.Schema schema,
org.mule.metadata.api.builder.BaseTypeBuilder root,
RestHandlerManager handlerManager,
ParsingContext parsingContext) |
boolean |
handles(org.everit.json.schema.Schema schema) |
public static final String PROPERTY_ORDER
public static final String CUSTOM_JSON_PROPERTY_PREFIX
public boolean handles(org.everit.json.schema.Schema schema)
handles in interface SchemaHandlerpublic org.mule.metadata.api.builder.TypeBuilder<?> handle(org.everit.json.schema.Schema schema,
org.mule.metadata.api.builder.BaseTypeBuilder root,
RestHandlerManager handlerManager,
ParsingContext parsingContext)
handle in interface SchemaHandlerCopyright © 2021. All rights reserved.