Skip to content

Commit

Permalink
fix(validate): unsupport fields (#95)
Browse files Browse the repository at this point in the history
APIs listed below is unavailable due to unsupported filed for the validator.
listObjectsV2
getBucketLifecycleConfiguration
putBucketLifecycleConfiguration

* fix(validate): unsupport fields

* doc
  • Loading branch information
StarlightIbuki authored Dec 25, 2023
1 parent 64a20c2 commit b2e5b98
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ Release process:
1. test installing the rock from LuaRocks


### Unreleased

- fix: validator failure for some of the field types
[95](https://github.com/Kong/lua-resty-aws/pull/95)

### 1.3.5 (19-Sep-2023)

- fix: lazily initialize structures to avoid c-boundary errors on require
Expand Down
6 changes: 6 additions & 0 deletions src/resty/aws/request/validate.lua
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,8 @@ local validators do
type = always_pass,
deprecated = always_pass,
box = always_pass,
locationName = always_pass,
location = always_pass,
},ops_mt)


Expand Down Expand Up @@ -491,6 +493,7 @@ local validators do
locationName = always_pass,
sensitive = always_pass,
box = always_pass,
flattened = always_pass,
},ops_mt)
end

Expand Down Expand Up @@ -566,6 +569,9 @@ local validators do
deprecatedMessage = always_pass,
deprecated = always_pass,
sensitive = always_pass,
locationName = always_pass,
location = always_pass,
xmlNamespace = always_pass,
},ops_mt)


Expand Down

0 comments on commit b2e5b98

Please sign in to comment.