]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Minor] Migrate lua_aws.lua from tableshape to lua_shape
authorVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 17 Nov 2025 15:29:36 +0000 (15:29 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 17 Nov 2025 15:29:36 +0000 (15:29 +0000)
commit6a9e5004c7bbcc50082d3b4ef80ea70c9b66d8b8
treeaa7ff4ecf713299170a18b4bee1717a6b03eda57
parent5411b251f610c390b358e892a77ea381b6735f5b
[Minor] Migrate lua_aws.lua from tableshape to lua_shape

Replace tableshape with lua_shape for AWS parameter validation:
- Convert ts.shape to T.table
- Replace ts.string + ts['nil'] / fn with T.transform + T.one_of
- Replace ts.map_of(ts.string, ts.string) with open table validation
- Update documentation comments to reflect new schema format

No functional changes, luacheck passes.
lualib/lua_aws.lua