Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support JSON schemas in the FillEntityDefaults function
FillEntityDefaults can be used to inject Kong entity defaults into a Kong entity struct. This function achieves this by getting entity schemas from the Admin API, flattening the returned schemas and merging these with the input schemas. Kong CP only works with Lua schemas, while Konnect also supports JSON schemas. This commit adds support to filling entity defaults from JSON schemas.
- Loading branch information