Where can I find the latest schema for policies and endpoints ?

Not applicable

The links in the documentation are pointing to https://github.com/apigee/api-platform-samples/tree/master/schemas but looks like they are not latest .

ScriptTarget is missing in the targetendpoint.xsd , probably only that one is missing and rest are updated ?

Solved Solved
3 4 295
1 ACCEPTED SOLUTION

That's correct! Current versions of the schemas are here: https://github.com/apigee/api-platform-samples/tree/master/schemas

Policy schemas are updated regularly, endpoint schemas are a bit out of date. We have an open ticket to update/auto-generate the other-than-policy schemas. I'll bump that ticket.

On policy schemas, we also have an open ticket to allow elements in any order. Currently the schemas are forcing a sequence, which isn't required.

View solution in original post

4 REPLIES 4

Not applicable

To my knowledge those are the only schema's publicly available and referenced from our docs here

http://apigee.com/docs/api-services/reference/reference-overview-policy

That's correct! Current versions of the schemas are here: https://github.com/apigee/api-platform-samples/tree/master/schemas

Policy schemas are updated regularly, endpoint schemas are a bit out of date. We have an open ticket to update/auto-generate the other-than-policy schemas. I'll bump that ticket.

On policy schemas, we also have an open ticket to allow elements in any order. Currently the schemas are forcing a sequence, which isn't required.

The flow_callout.xsd in that repo doesn't appear to be the latest (i.e. Edge v4.17.01 doesn't appear to be using it). The reason I say this is because the schema here: https://github.com/apigee/api-platform-samples/blob/master/schemas/policy/flow_callout.xsd doesn't mention 'Properties' or 'FaultRules' tags, yet 4.17.01 will accept policies like this:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <FlowCallout async="false" continueOnError="false" enabled="true" name="FC-Fault-Handling-Default-v1"> <DisplayName>FC-Fault-Handling-Default-v1</DisplayName> <FaultRules/> <Properties></Properties> <SharedFlowBundle>fault-handling-default-v1</SharedFlowBundle> </FlowCallout>