View Source erf_parser behaviour (erf v0.1.2)
Summary
Functions
Parses an specification file into an API AST given a specification format.
Types
-type method() :: erf:method().
-type parameter() :: #{ref := ref(), name := parameter_name(), type := parameter_type(), required := boolean()}.
-type parameter_name() :: binary().
-type parameter_type() :: header | cookie | path | query.
-type path() :: binary().
-type ref() :: binary().
-type request() :: #{body := body()}.
-type response() :: #{body := body()}.
-type schema() :: ndto:schema().
-type status_code() :: 100..599.