API Gateway: Validate JSON Schema Assertion

book

Article ID: 195722

calendar_today

Updated On:

Products

CA API Gateway API SECURITY STARTER PACK-7

Issue/Introduction

I need to use a Validate JSON Schema Assertion in one of my policies. Can you please provide me some sample code on how to configure it?

Environment

API Gateway: 9.4

Resolution

Attached is a sample policy that will retrieve a JSON and validate it. This can be used a service or a policy fragment.

Attachments

1595509673637__valJson.xml get_app