open_api_spex v3.5.0 OpenApiSpex.Test.Assertions View Source
Defines helpers for testing API responses and examples against API spec schemas.
Link to this section Summary
Functions
assert_schema(value, schema_title, api_spec)
deprecated
Asserts that value
conforms to the schema with title schema_title
in api_spec
Link to this section Functions
Link to this function
assert_schema(value, schema_title, api_spec)
View Source
assert_schema(value, schema_title, api_spec)
View Source
assert_schema(map(), String.t(), OpenApiSpex.OpenApi.t()) ::
map() | no_return()
assert_schema(map(), String.t(), OpenApiSpex.OpenApi.t()) :: map() | no_return()
This function is deprecated. Use OpenApiSpex.TestAssertions.assert_schema/3 instead.
Asserts that value
conforms to the schema with title schema_title
in api_spec
.