View Source Octopus.Validate (octopus v0.5.1)

Validates input and output with ExJsonSchema.Validator

Link to this section Summary

Link to this section Functions

Link to this function

validate(args, schema, context \\ :undefined)

View Source
@spec validate(map(), map(), atom()) :: {:ok, map()} | {:error, any()}