View Source PhxJsonRpc.Router.MetaData (Phoenix JSON RPC v0.3.0)
MetaData struct for the paths, defined in rpc router.
Contains information about called controllers, actions and schema references for the given rpc method.
Link to this section Summary
Functions
Creates the new metadata from the given params.
Link to this section Types
Link to this section Functions
Creates the new metadata from the given params.
examples
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"
}