PhoenixSwagger.Schema.ref
You're seeing just the function
ref
, go back to PhoenixSwagger.Schema module for more information.
Construct a schema reference, using name of definition in this swagger document, or a complete path.
Examples
iex> PhoenixSwagger.Schema.ref(:User)
%PhoenixSwagger.Schema{"$ref": "#/definitions/User"}
iex> PhoenixSwagger.Schema.ref("../common/Error.json")
%PhoenixSwagger.Schema{"$ref": "../common/Error.json"}