Interface IJsonSchemaTransformer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String transform​(Reader reader)
      Applies all configured transformation steps to the JSON schema read from the given reader, and returns the transformed JSON schema as a string.
      String transform​(String schema)
      Applies all configured transformation steps to the given JSON schema, and returns the transformed JSON schema as a string.
    • Method Detail

      • transform

        String transform​(Reader reader)
                  throws JsonSchemaServiceException
        Applies all configured transformation steps to the JSON schema read from the given reader, and returns the transformed JSON schema as a string.
        Parameters:
        reader - The reader to read the JSON schema from.
        Returns:
        The transformed JSON schema as a string.
        Throws:
        JsonSchemaServiceException - If an error occurs during reading or transformation.
      • transform

        String transform​(String schema)
                  throws JsonSchemaServiceException
        Applies all configured transformation steps to the given JSON schema, and returns the transformed JSON schema as a string.
        Parameters:
        schema - THe JSON schema to transform.
        Returns:
        The transformed JSON schema as a string.
        Throws:
        JsonSchemaServiceException - If an error occurs during reading or transformation.