Re: Handling vendor extensions into templates

2016-10-23 Thread Alex Dobjanschi
In reality, vendorExtensions are not parsed in any kind, and the runtime data-type is ObjectNode, which to be honest I have no idea how to render with jmustache. On Friday, October 21, 2016 at 6:51:48 PM UTC+3, tony tam wrote: > > Take a look here: > > https://github.com/samskivert/jmustache#-fi

Re: Handling vendor extensions into templates

2016-10-21 Thread tony tam
Take a look here: https://github.com/samskivert/jmustache#-first-and--last > On Oct 20, 2016, at 11:09 PM, Alex Dobjanschi > wrote: > > First of all, I'm not sure if this is a jmustache specific topic, but it > pretty tied to swagger

Handling vendor extensions into templates

2016-10-20 Thread Alex Dobjanschi
First of all, I'm not sure if this is a jmustache specific topic, but it pretty tied to swagger as well :) Imagine there is a vendor extension for parameter, like this: parameters: - name: param1 type: string x-encrypt-with: { algorithm: 'sha1' additionalData1: '256'