Hi You can read the additional properties like in [1] [1] - $apiObj.additionalProperties.get('property_name')
On Wed, Jun 13, 2018 at 10:47 AM Sachithra Dangalla <sachit...@wso2.com> wrote: > Hi all, > > I'm trying to filter out handlers to be executed for an API based on a > custom property which set during API publishing (when setting API > properties in "Manage" section). In order to add a condition in the > velocity template, I need to read the properties set for the API. Other > variables could be read by using variables such as "$!apiVersion", > "$isSoapToRestMode", "$resource.getUriTemplate()" etc. How can I read the > list of properties from velocity template? > > Thanks, > Regards, > -- > > *Sachithra Dangalla* > Software Engineer > WSO2 Inc. http://wso2.com > Blog: http://comexile.blogspot.com > Mobile : +94 71 3700 656 > _______________________________________________ > Dev mailing list > Dev@wso2.org > http://wso2.org/cgi-bin/mailman/listinfo/dev > -- Rajith Roshan Senior Software Engineer, WSO2 Inc. Mobile: +94-7 <javascript:void(0);>17-064-214
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev