openapi_merger v0.1.0 OpenapiMerger View Source

OpenAPI Merger

Installation

Add to your mix.exs:

def deps do
  [
    {:openapi_merger, "0.1.0"}
  ]
end

Usage

To merge your OpenAPI-specification parts into one json file simply run

mix merge_openapi_specs --source ./documentation/ --dest ./priv/static/api.json

Where ./documentation is root directory with your specs and ./priv/static/api.json is path for merged spec.

Link to this section Summary

Link to this section Functions

Link to this function

merge_openapi_specs(source_path, dest_path) View Source

Merges OpenAPI specs