View Source OpenApiSpex.DeprecatedCast (open_api_spex v3.16.0)

This module is deprecated.

Please use OpenApiSpex.Cast instead.

Link to this section Summary

Link to this section Functions

Link to this function

cast(schema, value, schemas)

View Source
Link to this function

validate(schema, val, schemas)

View Source
Link to this function

validate(ref, val, path, schemas)

View Source
@spec validate(
  OpenApiSpex.Schema.t() | OpenApiSpex.Reference.t(),
  any(),
  String.t(),
  %{
    required(String.t()) => OpenApiSpex.Schema.t() | OpenApiSpex.Reference.t()
  }
) :: :ok | {:error, String.t()}