Kong / kong-python-pdk

Write Kong plugins in Python (Experimental)
Apache License 2.0
40 stars 14 forks source link

fix(doc): inaccurate doc of kong.nginx.get_var #110

Closed StarlightIbuki closed 1 year ago

StarlightIbuki commented 1 year ago

Fix a doc issue found from #107

michaelarnauts commented 1 year ago

Shouldn't get_var expect a parameter (to indicate what variable to get)?

StarlightIbuki commented 1 year ago

@michaelarnauts Correct. But the doc is generated with a script and we need to fix it in another place.

StarlightIbuki commented 1 year ago

The doc is fixed. Closing.

michaelarnauts commented 1 year ago

Does anything more then the doc need changing? I've tried the suggestion from the linked issue, but got the message "API disabled in the current context".

StarlightIbuki commented 1 year ago

@michaelarnauts Sorry for the confusion. Replying in that ticket.