-
-
Notifications
You must be signed in to change notification settings - Fork 486
Closed
Description
Hi,
There are a few bugs in x-www-form-urlencoded validation (specifically in x-www-form-urlencoded decoder) :
- The validation only accepts schema with primitives or array that contains primitives. While according to the RFC complex objects are allowed (for example, I am using3gpp access token (https://www.3gpp.org/ftp/Specs/archive/OpenAPI/Rel-15/TS29510_Nnrf_AccessToken.yaml)
- The decoder fills in properties that were not included in the request with their nil values.
for example, even If the request does not contain an array and this array is not required, then the decoder adds it with nil value. As a result, the validation fails on minimum required items.
Thanks,
Oren
Metadata
Metadata
Assignees
Labels
No labels