View Source GoogleAI.Utils (google_ai v0.1.0)

Miscellaneous utilities functions.

Summary

Functions

Camelize all keys in the given map or keyword-list.

Merges any path params already set in the given req with the incoming list of path_params.

Functions

@spec camelize_keys(map() | Keyword.t()) :: map()

Camelize all keys in the given map or keyword-list.

Returns a string-keyed map.

Link to this function

merge_path_params(req, path_params)

View Source
@spec merge_path_params(Req.Request.t(), Keyword.t()) :: Req.Request.t()

Merges any path params already set in the given req with the incoming list of path_params.