chore: bump minirest to 1.3.3(force generate dispatch rule)
This commit is contained in:
parent
09e5f35f5c
commit
af8cad3856
|
@ -431,23 +431,21 @@ desc_struct(Hocon) ->
|
||||||
case hocon_schema:field_schema(Hocon, desc) of
|
case hocon_schema:field_schema(Hocon, desc) of
|
||||||
undefined ->
|
undefined ->
|
||||||
case hocon_schema:field_schema(Hocon, description) of
|
case hocon_schema:field_schema(Hocon, description) of
|
||||||
undefined ->
|
undefined -> get_ref_desc(Hocon);
|
||||||
case Hocon of
|
Struct1 -> Struct1
|
||||||
?R_REF(Mod, Name) ->
|
|
||||||
case erlang:function_exported(Mod, desc, 1) of
|
|
||||||
true -> Mod:desc(Name);
|
|
||||||
false -> undefined
|
|
||||||
end;
|
|
||||||
_ ->
|
|
||||||
undefined
|
|
||||||
end;
|
|
||||||
Struct1 ->
|
|
||||||
Struct1
|
|
||||||
end;
|
end;
|
||||||
Struct ->
|
Struct ->
|
||||||
Struct
|
Struct
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
get_ref_desc(?R_REF(Mod, Name)) ->
|
||||||
|
case erlang:function_exported(Mod, desc, 1) of
|
||||||
|
true -> Mod:desc(Name);
|
||||||
|
false -> undefined
|
||||||
|
end;
|
||||||
|
get_ref_desc(_) ->
|
||||||
|
undefined.
|
||||||
|
|
||||||
request_body(#{content := _} = Content, _Module, _Options) ->
|
request_body(#{content := _} = Content, _Module, _Options) ->
|
||||||
{Content, []};
|
{Content, []};
|
||||||
request_body([], _Module, _Options) ->
|
request_body([], _Module, _Options) ->
|
||||||
|
|
2
mix.exs
2
mix.exs
|
@ -57,7 +57,7 @@ defmodule EMQXUmbrella.MixProject do
|
||||||
{:mria, github: "emqx/mria", tag: "0.2.5", override: true},
|
{:mria, github: "emqx/mria", tag: "0.2.5", override: true},
|
||||||
{:ekka, github: "emqx/ekka", tag: "0.12.6", override: true},
|
{:ekka, github: "emqx/ekka", tag: "0.12.6", override: true},
|
||||||
{:gen_rpc, github: "emqx/gen_rpc", tag: "2.8.1", override: true},
|
{:gen_rpc, github: "emqx/gen_rpc", tag: "2.8.1", override: true},
|
||||||
{:minirest, github: "emqx/minirest", tag: "1.3.2", override: true},
|
{:minirest, github: "emqx/minirest", tag: "1.3.3", override: true},
|
||||||
{:ecpool, github: "emqx/ecpool", tag: "0.5.2"},
|
{:ecpool, github: "emqx/ecpool", tag: "0.5.2"},
|
||||||
{:replayq, "0.3.4", override: true},
|
{:replayq, "0.3.4", override: true},
|
||||||
{:pbkdf2, github: "emqx/erlang-pbkdf2", tag: "2.0.4", override: true},
|
{:pbkdf2, github: "emqx/erlang-pbkdf2", tag: "2.0.4", override: true},
|
||||||
|
|
|
@ -57,7 +57,7 @@
|
||||||
, {mria, {git, "https://github.com/emqx/mria", {tag, "0.2.5"}}}
|
, {mria, {git, "https://github.com/emqx/mria", {tag, "0.2.5"}}}
|
||||||
, {ekka, {git, "https://github.com/emqx/ekka", {tag, "0.12.6"}}}
|
, {ekka, {git, "https://github.com/emqx/ekka", {tag, "0.12.6"}}}
|
||||||
, {gen_rpc, {git, "https://github.com/emqx/gen_rpc", {tag, "2.8.1"}}}
|
, {gen_rpc, {git, "https://github.com/emqx/gen_rpc", {tag, "2.8.1"}}}
|
||||||
, {minirest, {git, "https://github.com/emqx/minirest", {tag, "1.3.2"}}}
|
, {minirest, {git, "https://github.com/emqx/minirest", {tag, "1.3.3"}}}
|
||||||
, {ecpool, {git, "https://github.com/emqx/ecpool", {tag, "0.5.2"}}}
|
, {ecpool, {git, "https://github.com/emqx/ecpool", {tag, "0.5.2"}}}
|
||||||
, {replayq, "0.3.4"}
|
, {replayq, "0.3.4"}
|
||||||
, {pbkdf2, {git, "https://github.com/emqx/erlang-pbkdf2.git", {tag, "2.0.4"}}}
|
, {pbkdf2, {git, "https://github.com/emqx/erlang-pbkdf2.git", {tag, "2.0.4"}}}
|
||||||
|
|
Loading…
Reference in New Issue