public class SchemaRegistry extends Object
| Constructor and Description |
|---|
SchemaRegistry(AsyncConfig config) |
| Modifier and Type | Method and Description |
|---|---|
List<amf.core.client.platform.validation.payload.AMFShapePayloadValidator> |
getValidators(amf.apicontract.client.platform.model.domain.api.AsyncApi api,
String channel,
AsyncOperation operation,
String payloadMediaType,
amf.apicontract.client.platform.AMFElementClient elementClient)
check if any of the supported mediatypes are present in validators if atleast one is present, the message is already is
registered.
|
public SchemaRegistry(AsyncConfig config)
public List<amf.core.client.platform.validation.payload.AMFShapePayloadValidator> getValidators(amf.apicontract.client.platform.model.domain.api.AsyncApi api, String channel, AsyncOperation operation, String payloadMediaType, amf.apicontract.client.platform.AMFElementClient elementClient)
api - channel - channel name from specificationoperation - operation {publish, subscribe}payloadMediaType - application/json etc.elementClient - {channel, operation, mediaType}Copyright © 2024 MuleSoft, Inc.. All rights reserved.