Hello,
We are using kong:2.0.2-alpine version in DB-less mode.
Trying to use request-transformer plugin and following docs to enable it on a route:
Following use case shows that documented solution is not working.
Is it the product bug, documentation problem, or something else?
simple example to reproduce:
services:
- name: test
url: http://jsonplaceholder.typicode.com/posts
routes:- name: test
hosts:- test
paths: - /posts
plugins: - name: request-transformer
config:
add.querystring:- new-param:some_value
- test
- name: test
init_by_lua error: /usr/local/share/lua/5.1/kong/init.lua:431: error parsing declarative config file /etc/kong/declarative.yaml:
kong_1 | in ‘services’:
kong_1 | - in entry 1 of ‘services’:
kong_1 | in ‘routes’:
kong_1 | - in entry 1 of ‘routes’:
kong_1 | in ‘plugins’:
kong_1 | - in entry 1 of ‘plugins’:
kong_1 | in ‘config’:
kong_1 | in ‘add.querystring’: unknown field