class KwalifyToJsonSchema::CustomProcessing

Template class for custom processing

Public Instance Methods

postprocess(json_schema) click to toggle source

The method will be called after the conversion allowing to customize the output JSON schema. The implementation have to return the modified schema. The default implemention don't modify the schema.

# File lib/kwalify_to_json_schema/custom_processing.rb, line 12
def postprocess(json_schema); json_schema; end
preproces(kwalify_schema) click to toggle source

The method will be called before conversion allowing to customize the input Kwalify schema. The implementation have to return the modified schema. The default implemention don't modify the schema.

# File lib/kwalify_to_json_schema/custom_processing.rb, line 7
def preproces(kwalify_schema); kwalify_schema; end