apigeelint
Version:
Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.
36 lines (35 loc) • 1.4 kB
JavaScript
// These are the error messages only for the failed policies.
module.exports = {
"setoauthv2info-missing-AccessToken-element.xml": [
"You must specify the AccessToken element.",
],
"setoauthv2info-missing-Attributes-element.xml": [
"You must specify the Attributes element.",
],
"setoauthv2info-missing-name-attr-on-Attribute-elt.xml": [
"Missing name attribute.",
],
"setoauthv2info-empty-name-attr-on-Attribute-elt.xml": [
"Empty value for name attribute.",
],
"setoauthv2info-zero-Attribute-elements.xml": [
"There should be at least one <Attribute> element beneath <Attributes>.",
],
"setoauthv2info-unsupported-attr-on-Attribute-elt.xml": [
"Inappropriate someOtherAttr attribute; only ref or name supported here.",
],
"setoauthv2info-unsupported-attr-on-AccessToken-elt.xml": [
"Inappropriate someOtherAttr attribute; only ref is supported here.",
],
"setoauthv2info-unknown-element.xml": [
"element <Unknown> is not allowed here.",
],
"setoauthv2info-duplicate-DisplayName.xml": ["extra <DisplayName> element."],
"setoauthv2info-duplicate-AccessToken.xml": ["extra <AccessToken> element."],
"setoauthv2info-non-Attribute-in-Attributes.xml": [
"Inappropriate <Other> element; only Attribute is supported here.",
],
"setoauthv2info-nested-element-in-Attribute.xml": [
"Unsupported <Child> element.",
],
};