edh_phoenix_swagger v0.1.3 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

Converts value to a json-encodable form, removes nils from structs and maps

Functions

pipeline_body(block)

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

to_json(value)

Converts value to a json-encodable form, removes nils from structs and maps.