OpenAPIv3Validator.valid-question-mark

You're seeing just the function valid-question-mark, go back to OpenAPIv3Validator module for more information.

tests an input whether or not it will comply to the JSON schema for OpenAPIv3

Examples

iex> %{} |> OpenAPIv3Validator.valid?
false

iex> spec =%{
iex>   "openapi" => "3.0.0",
iex>   "paths" => %{},
iex>   "info" => %{"title" => "Valid OpenAPIv3 spec", "version" => "1.0.0"}
iex> }
iex> spec |> OpenAPIv3Validator.valid?
true