Kong/kong-python-pdk

Schema Typedefs like in Lua plugins

Minh9897 opened this issue · 3 comments

Does this python pdk support schema typedef to validate Url or Header like in Lua Plugins ?

Hi @Minh9897 this is currently not supported, you can use python libraries to the validation on python land.

If I validate in class Plugin, the plugin still create even the value is invalid. Am I right?

Yes, currently we don't support validation on creation/update time in external plugins.