edh_phoenix_swagger v0.1.1 PhoenixSwagger.Util

Helper functions and macros for implementing swagger DSL

Summary

Functions

Given a do-end block, insert the pipline operator |> between each expression, turning the whole thing into a single expression

Convert a struct (or any value) to a json-encodable form, removing elements from maps with null values

Functions

pipeline_body(list)

Given a do-end block, insert the pipline operator |> between each expression, turning the whole thing into a single expression.

to_json(x)

Convert a struct (or any value) to a json-encodable form, removing elements from maps with null values.