You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
enabled_in_cluster field in GET / should return an empty JSON array if there are no plugins configured. Currently, returns an empty JSON Object instead.
Steps To Reproduce
Start kong
GET / on admin API port
The plugins.enabled_in_cluster field is a JSON object if there are no plugins configured in Kong.
Summary
enabled_in_cluster
field inGET /
should return an empty JSON array if there are no plugins configured. Currently, returns an empty JSON Object instead.Steps To Reproduce
The
plugins.enabled_in_cluster
field is a JSON object if there are no plugins configured in Kong.But it returns an array of strings if there is a single (or multiple) plugins present:
This should be consistent and return an empty array in the former case as (de)serialization gets more complicated for an SDK library.
Additional Details & Logs
The text was updated successfully, but these errors were encountered: