[use] plugin = basics plugin = xslt [env] path = lang value = env('lang', 'en') [JSONParse] separator = * [assign] path = skos-file value = fix(`${env('TMPDIR', '/tmp')}/${env('loterreID', 'noid')}.skos`) [debug] [expand] path = skos-file file = ./v1/fetch.cfg cacheName = fix(`${env('loterreID', 'noid')}-${env('weekNumber')}`) [replace] path = string.0.key value = id path = string.0.$t value = get('id') path = string.1.key value = value path = string.1.$t value = get('value') [XMLString] rootElement = array contentElement = map rootNamespace = http://www.w3.org/2005/xpath-functions [xslt] stylesheet = ./v1/annotate.xsl param = env('lang').prepend('lang=') param = get('skosFilename').prepend('vocabulary=') [JSONParse] separator = data.* # # A noter : # L'utilisation d'un fichier .cfg évite de faire apparaitre ce fichier comme une route dans la documentation openAPI #