Files
firezone/elixir/apps/api/mix.exs
dependabot[bot] e1c6bb84c3 build(deps): bump open_api_spex from 3.21.5 to 3.22.0 in /elixir (#10482)
Bumps [open_api_spex](https://github.com/open-api-spex/open_api_spex)
from 3.21.5 to 3.22.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/open-api-spex/open_api_spex/releases">open_api_spex's
releases</a>.</em></p>
<blockquote>
<h2>v3.22.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Support multiple apps in Plug.SwaggerUI by <a
href="https://github.com/zorbash"><code>@​zorbash</code></a> in <a
href="https://redirect.github.com/open-api-spex/open_api_spex/pull/676">open-api-spex/open_api_spex#676</a></li>
<li>Validate keys given to operation/2 macro by <a
href="https://github.com/xxdavid"><code>@​xxdavid</code></a> in <a
href="https://redirect.github.com/open-api-spex/open_api_spex/pull/675">open-api-spex/open_api_spex#675</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/xxdavid"><code>@​xxdavid</code></a> made
their first contribution in <a
href="https://redirect.github.com/open-api-spex/open_api_spex/pull/675">open-api-spex/open_api_spex#675</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/open-api-spex/open_api_spex/compare/v3.21.5...v3.22.0">https://github.com/open-api-spex/open_api_spex/compare/v3.21.5...v3.22.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/open-api-spex/open_api_spex/blob/master/CHANGELOG.md">open_api_spex's
changelog</a>.</em></p>
<blockquote>
<h2>v3.22.0 - 2025-08-05</h2>
<ul>
<li>Support multiple apps in Plug.SwaggerUI by <a
href="https://github.com/zorbash"><code>@​zorbash</code></a> in <a
href="https://redirect.github.com/open-api-spex/open_api_spex/pull/676">open-api-spex/open_api_spex#676</a></li>
<li>Validate keys given to operation/2 macro by <a
href="https://github.com/xxdavid"><code>@​xxdavid</code></a> in <a
href="https://redirect.github.com/open-api-spex/open_api_spex/pull/675">open-api-spex/open_api_spex#675</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="be4f59a3d0"><code>be4f59a</code></a>
Release version 3.22.0</li>
<li><a
href="7de53cb763"><code>7de53cb</code></a>
Validate keys given to operation/2 macro (<a
href="https://redirect.github.com/open-api-spex/open_api_spex/issues/675">#675</a>)</li>
<li><a
href="9967e2f9d8"><code>9967e2f</code></a>
Support multiple apps in Plug.SwaggerUI (<a
href="https://redirect.github.com/open-api-spex/open_api_spex/issues/676">#676</a>)</li>
<li>See full diff in <a
href="https://github.com/open-api-spex/open_api_spex/compare/v3.21.5...v3.22.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=open_api_spex&package-manager=hex&previous-version=3.21.5&new-version=3.22.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-01 03:41:15 +00:00

90 lines
2.2 KiB
Elixir

defmodule API.MixProject do
use Mix.Project
def project do
[
app: :api,
version: version(),
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
test_coverage: [tool: ExCoveralls],
preferred_cli_env: [
coveralls: :test,
"coveralls.detail": :test,
"coveralls.post": :test,
"coveralls.html": :test
],
aliases: aliases(),
deps: deps()
]
end
def application do
[
mod: {API.Application, []},
extra_applications: [
:logger,
:runtime_tools
]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
# Umbrella deps
{:domain, in_umbrella: true},
# Phoenix deps
{:phoenix, "~> 1.7.0"},
{:phoenix_ecto, "~> 4.4"},
{:plug_cowboy, "~> 2.7"},
# Observability deps
{:telemetry_metrics, "~> 1.0"},
{:telemetry_poller, "~> 1.0"},
{:opentelemetry_telemetry, "~> 1.1.1", override: true},
{:opentelemetry_cowboy, "~> 1.0"},
{:opentelemetry_phoenix, "~> 2.0"},
{:sentry, "~> 11.0"},
{:hackney, "~> 1.19"},
{:logger_json, "~> 7.0"},
# Other deps
{:jason, "~> 1.2"},
{:remote_ip, "~> 1.1"},
{:open_api_spex, "~> 3.22.0"},
{:ymlr, "~> 5.0"},
{:hammer, "~> 7.1.0"},
# Test deps
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
{:dialyxir, "~> 1.1", only: [:dev], runtime: false},
{:junit_formatter, "~> 3.3", only: [:test]},
{:mix_audit, "~> 2.1", only: [:dev, :test]},
{:sobelow, "~> 0.12", only: [:dev, :test]}
]
end
defp aliases do
[
"ecto.seed": ["ecto.create", "ecto.migrate", "run ../domain/priv/repo/seeds.exs"],
"ecto.setup": ["ecto.create", "ecto.migrate"],
"ecto.reset": ["ecto.drop", "ecto.setup"],
test: ["ecto.create --quiet", "ecto.migrate", "test"]
]
end
defp version do
sha = System.get_env("GIT_SHA", "dev") |> String.trim()
"0.1.0+#{sha}"
end
end