Mix.Tasks.Nativegen.Swift.Method
Append request method to existing client code.
Example
mix nativegen.swift.method post /api/chat/response responseMessage Chat thread_id:integer message:string
Summary
Functions
extract parameters from route.
Example: iex> extract_param(“/users/:id/show”) %{“param” => “id”}
generate_method(request_method, http_method, route, method_name, response_type, params)
generate_method(atom1, request_method, http_method, route, method_name, response_type, params)
Callback implementation for c:Mix.Task.run/1
.