Skip to content

Commit

Permalink
fix: ref handling
Browse files Browse the repository at this point in the history
  • Loading branch information
javiergarea committed Jan 8, 2024
1 parent 6304d93 commit e479d40
Show file tree
Hide file tree
Showing 9 changed files with 577 additions and 273 deletions.
12 changes: 10 additions & 2 deletions rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@

{deps, [
{elli, {git, "[email protected]:elli-lib/elli.git", {branch, "main"}}},
{ndto, {git, "[email protected]:nomasystems/ndto.git", {branch, "main"}}},
{ndto,
{git, "[email protected]:nomasystems/ndto.git",
{branch, "refactor/split-oas-3-0-json-schema-draft-04-parsers"}}},
{njson, {git, "[email protected]:nomasystems/njson.git", {branch, "main"}}}
]}.

{plugins, [
{rebar3_ndto, {git, "[email protected]:nomasystems/rebar3_ndto.git", {branch, "main"}}}
{rebar3_ndto, {git, "[email protected]:nomasystems/rebar3_ndto.git", {tag, "0.1.0"}}}
]}.
{ndto, [
{specs, [
Expand All @@ -27,6 +29,9 @@

{project_plugins, [
{erlfmt, {git, "[email protected]:WhatsApp/erlfmt.git", {branch, "main"}}},
{eqwalizer_rebar3,
{git_subdir, "https://github.com/whatsapp/eqwalizer.git", {branch, "main"},
"eqwalizer_rebar3"}},
{gradualizer, {git, "[email protected]:josefs/Gradualizer.git", {branch, "master"}}},
rebar3_ex_doc
]}.
Expand All @@ -42,6 +47,9 @@
{test, [
{erl_opts, [nowarn_export_all]},
{deps, [
{eqwalizer_support,
{git_subdir, "https://github.com/whatsapp/eqwalizer.git", {branch, "main"},
"eqwalizer_support"}},
{meck, {git, "[email protected]:eproxus/meck.git", {branch, "master"}}},
{nct_util, {git, "[email protected]:nomasystems/nct_util.git", {branch, "main"}}}
]}
Expand Down
4 changes: 2 additions & 2 deletions rebar.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
1},
{<<"ndto">>,
{git,"[email protected]:nomasystems/ndto.git",
{ref,"491a2441e43afa2fb037c6e7e826c45a383e3bd9"}},
{ref,"41043b1c89dccf1485a12b04467949a1c9d161f5"}},
0},
{<<"njson">>,
{git,"[email protected]:nomasystems/njson.git",
{ref,"76ab40033ee977f876e7b3addca5de981ff4a9ef"}},
{ref,"b230b3e6fb5e35320aeaa203762f3f12277c9970"}},
0}].
2 changes: 1 addition & 1 deletion src/erf.erl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

%%% TYPES
-type api() :: erf_parser:api().
-type body() :: njson:t().
-type body() :: undefined | njson:t().
-type conf() :: #{
spec_path := binary(),
callback := module(),
Expand Down
Loading

0 comments on commit e479d40

Please sign in to comment.