View Source PhxJsonRpc.Router.MetaData (Phoenix JSON RPC v0.6.0)
MetaData struct for the paths, defined in rpc router.
Contains information about called controllers, actions and schema references for the given rpc method.
Summary
Functions
Creates the new metadata from the given params.
Types
Functions
Creates the new metadata from the given params.
Examples
iex> PhxJsonRpc.Router.MetaData.new(controller: RpcController, action: :hello, schema_ref: "#/components/schema/hello")
%PhxJsonRpc.Router.MetaData{
controller: RpcController,
action: :hello,
schema_ref: "#/components/schema/hello"
}