This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Schema fields that start with underscore should be hidden in the API response #385
Labels
task/feature
Requests for new features in Kong
In some situations it's very convenient to cache some otherwise long operations inside the datastore in specific private fields, like https://github.com/Mashape/kong/blob/master/kong/plugins/ssl/schema.lua#L27-L29
This is to avoid the "Dogpile Effect" in production, and increase performance.
This fields are currently being displayed in the API response, while they should only be visibile internally. Not sure if we want to use the underscore convention, or have a specific
hide = true
property for the field.The text was updated successfully, but these errors were encountered: