chore(emqx_authz): delete put for http type
This commit is contained in:
parent
ef0f94025a
commit
6095253126
|
@ -95,7 +95,7 @@ definitions() ->
|
|||
},
|
||||
method => #{
|
||||
type => string,
|
||||
enum => [<<"get">>, <<"post">>, <<"put">>],
|
||||
enum => [<<"get">>, <<"post">>],
|
||||
example => <<"get">>
|
||||
},
|
||||
headers => #{type => object},
|
||||
|
|
|
@ -84,7 +84,7 @@ fields(http_post) ->
|
|||
, {enable, #{type => boolean(),
|
||||
default => true}}
|
||||
, {url, #{type => url()}}
|
||||
, {method, #{type => hoconsc:enum([post, put]),
|
||||
, {method, #{type => post,
|
||||
default => get}}
|
||||
, {headers, #{type => map(),
|
||||
default => #{ <<"accept">> => <<"application/json">>
|
||||
|
|
Loading…
Reference in New Issue