Use JSON schema validation

#1

Hi guys,

I would like to validate the body of my request from Kong. I came across “template-transformer” but it seems that it is not working on the latest version of kong and the documentation is not really friendly. Also came across “Serverless Functions” that might help. Any other way to achieve JSON validation ?

Thanks for you helps.

Regards,

Jonathan.

0 Likes

#2

Hello Jonathan,
Kong Enterprise provides a request-validator plugin to solve this problem.

If you’re in Community Edition, serverless might give you a way to do the validations, or writing your own plugin.

0 Likes