Interface JsonSchemaLoader

  • All Known Implementing Classes:
    DefaultJsonSchemaLoader

    @Deprecated
    public interface JsonSchemaLoader
    Deprecated.
    Use UriJsonSchemaLoader instead
    Can be used to create custom schema for the JSON validator endpoint.
    • Method Detail

      • createSchema

        @Deprecated
        com.networknt.schema.JsonSchema createSchema​(org.apache.camel.CamelContext camelContext,
                                                     InputStream inputStream)
                                              throws Exception
        Deprecated.
        Create a new Schema based on the schema input stream.
        Parameters:
        camelContext - camel context
        inputStream - the resource input stream
        Returns:
        a Schema to be used when validating incoming requests
        Throws:
        Exception