Hi ,
@asagar @Dino
I'm trying to use JSON schema validation in APIGEE . I referrred to java callout policy posted by Dino.
https://github.com/DinoChiesa/ApigeeEdge-Java-Validate-JSON-Schema
I imported edge-custom-json-schema-validator-1.0.1.jar and developed proxy as mentioned in readme.md
I get this error when i tested
error | Found class com.github.fge.jsonschema.main.JsonSchema, but interface was expected |
---|---|
error.class | java.lang.IncompatibleClassChangeError |
Should i compile and archive the code before importing jar file as resource ?
Any other suggestion would be helpful ?
Thanks
hi - sorry about that. The README for that callout didn't specify the dependencies, and there was no example to follow, either.
I've updated the README to describe the dependencies you need to provide, in your API Proxy bundle.
Also, I've added an example proxy bundle to the repo for you to follow.
Please "git pull" and see if that solves the problem.