BlueBird v0.3.8 BlueBird.Writer
Writes api documentations in apib and swagger format to files.
Link to this section Summary
Functions
Writes a BlueBird.ApiDoc{}
struct to apib and swagger files
Link to this section Functions
Writes a BlueBird.ApiDoc{}
struct to apib and swagger files.
This function will be called automatically by BlueBird.Formatter
after
every test run.
You can set the destination directory in config.exs
.
config :blue_bird,
docs_path: "priv/static/docs"
Link to this function
run_apib(api_docs, filename)
run_apib(BlueBird.ApiDoc.t, String.t) :: {:error, File.posix}
Link to this function
run_swagger(api_docs, filename)
run_swagger(BlueBird.ApiDoc.t, String.t) :: {:error, File.posix}