Packages
open_api_spex
3.15.0
3.22.3
3.22.2
3.22.1
3.22.0
3.21.5
3.21.4
3.21.3
3.21.2
3.21.1
3.21.0
3.20.1
3.20.0
3.19.1
3.19.0
3.18.3
3.18.2
3.18.1
3.18.0
3.17.3
3.17.2
3.17.1
3.17.0
3.16.4
3.16.3
3.16.2
3.16.1
3.16.0
3.15.0
3.14.0
3.13.0
3.12.0
3.11.0
3.10.0
3.9.0
3.8.0
3.7.0
3.6.0
3.5.2
3.5.1
3.5.0
3.4.0
3.3.0
3.2.1
3.2.0
3.1.0
3.0.0
2.3.1
2.3.0
2.2.0
2.1.1
2.1.0
2.0.0
1.1.4
1.1.3
1.1.2
1.1.1
1.1.0
1.0.1
1.0.0
Leverage Open Api Specification 3 (swagger) to document, test, validate and explore your Plug and Phoenix APIs.
Current section
Files
Jump to
Current section
Files
open_api_spex
mix.exs
mix.exs
defmodule OpenApiSpex.Mixfile do
use Mix.Project
@source_url "https://github.com/open-api-spex/open_api_spex"
@version "3.15.0"
def project do
[
app: :open_api_spex,
version: @version,
elixir: "~> 1.10",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
consolidate_protocols: Mix.env() != :test,
package: package(),
deps: deps(),
docs: docs(),
dialyzer: dialyzer()
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
def application, do: [extra_applications: []]
defp package() do
[
name: "open_api_spex",
description:
"Leverage Open Api Specification 3 (swagger) to document, " <>
"test, validate and explore your Plug and Phoenix APIs.",
files: [
"lib",
"mix.exs",
"README.md",
"LICENSE",
"CHANGELOG.md",
"CONTRIBUTING.md",
"ROADMAP.md",
".formatter.exs"
],
maintainers: [
"Mike Buhot (m.buhot@gmail.com)",
"Moxley Stratton (moxley.stratton@gmail.com)",
"Pierre Fenoll (pierrefenoll@gmail.com)"
],
licenses: ["MPL-2.0"],
links: %{
"Changelog" => "https://hexdocs.pm/open_api_spex/changelog.html",
"GitHub" => @source_url
}
]
end
defp deps do
[
{:credo, "~> 1.0", only: [:dev], runtime: false},
{:dialyxir, "~> 1.0", only: [:dev], runtime: false},
{:ex_doc, ">= 0.0.0", only: :dev, runtime: false},
{:jason, "~> 1.0", optional: true},
{:phoenix, "~> 1.3", only: [:dev, :test]},
{:plug, "~> 1.7"},
{:poison, "~> 3.0 or ~> 4.0 or ~> 5.0", optional: true},
{:ymlr, "~> 2.0 or ~> 3.0", optional: true}
]
end
defp docs do
[
extras: [
"CHANGELOG.md",
"CONTRIBUTING.md",
"ROADMAP.md",
{:LICENSE, [title: "License"]},
"README.md"
],
main: "readme",
homepage_url: @source_url,
source_url: @source_url,
source_ref: "v#{@version}",
formatters: ["html"]
]
end
defp dialyzer do
[
plt_file: {:no_warn, "priv/plts/dialyzer.plt"},
plt_add_apps: ~w(
ex_unit
jason
mix
poison
ymlr
)a
]
end
end