Skip to content

Commit

Permalink
feat(db): add example field to meta schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Guaris authored and jschmid1 committed Nov 2, 2023
1 parent b3851a6 commit f8d2fc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kong/db/schema/metaschema.lua
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ local field_schema = {
{ required = { type = "boolean" }, },
{ reference = { type = "string" }, },
{ description = { type = "string", len_min = 10, len_max = 500}, },
{ examples = { type = "array", elements = { type = "any" } } },
{ auto = { type = "boolean" }, },
{ unique = { type = "boolean" }, },
{ unique_across_ws = { type = "boolean" }, },
Expand Down

0 comments on commit f8d2fc4

Please sign in to comment.