View Source OpenApiSpex.DeprecatedCast (open_api_spex v3.21.2)

This module is deprecated.

Please use OpenApiSpex.Cast instead.

Summary

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()}