libopenapi-validator icon indicating copy to clipboard operation
libopenapi-validator copied to clipboard

Support application/x-www-form-urlencoded payloads

Open magiusdarrigo opened this issue 3 months ago • 1 comments

My unit test originally failed because pb33f’s high-level validator isn’t flagging missing fields in application/x-www-form-urlencoded bodies. When I swapped the test to JSON, the validator caught the missing property immediately, so pb33f itself is working; it just doesn’t currently enforce “required” on form payloads.

Versions in my go.mod github.com/pb33f/libopenapi v0.27.2 github.com/pb33f/libopenapi-validator v0.6.3

magiusdarrigo avatar Sep 20 '25 22:09 magiusdarrigo

Hello,

Can you provide a little more context? I am not quite sure what you're referring to here. Some code or an example YAML file would be helpful.

daveshanley avatar Oct 04 '25 12:10 daveshanley