adapter children

This commit is contained in:
Alexander 2019-12-10 12:16:19 +03:00 committed by Alexander Strizhakov
parent a71393dd29
commit 4306769671
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381
1 changed files with 51 additions and 3 deletions

View File

@ -90,7 +90,23 @@
%{ %{
key: :adapter, key: :adapter,
type: :keyword, type: :keyword,
description: "Adapter specific options" description: "Adapter specific options",
children: [
%{
key: :ssl_options,
type: :keyword,
label: "SSL Options",
description: "SSL options for HTTP adapter",
children: [
%{
key: :versions,
type: {:list, :atom},
descriptions: "List of TLS version to use",
suggestions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"]
}
]
}
]
}, },
%{ %{
key: :proxy_url, key: :proxy_url,
@ -1463,7 +1479,23 @@
%{ %{
key: :adapter, key: :adapter,
type: :keyword, type: :keyword,
description: "Adapter specific options" description: "Adapter specific options",
children: [
%{
key: :ssl_options,
type: :keyword,
label: "SSL Options",
description: "SSL options for HTTP adapter",
children: [
%{
key: :versions,
type: {:list, :atom},
descriptions: "List of TLS version to use",
suggestions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"]
}
]
}
]
}, },
%{ %{
key: :proxy_url, key: :proxy_url,
@ -2760,7 +2792,23 @@
key: :adapter, key: :adapter,
type: :keyword, type: :keyword,
description: "Adapter specific options", description: "Adapter specific options",
suggestions: [] suggestions: [],
children: [
%{
key: :ssl_options,
type: :keyword,
label: "SSL Options",
description: "SSL options for HTTP adapter",
children: [
%{
key: :versions,
type: {:list, :atom},
descriptions: "List of TLS version to use",
suggestions: [:tlsv1, :"tlsv1.1", :"tlsv1.2"]
}
]
}
]
} }
] ]
}, },