Skip to content

Commit 0b7b7ab

Browse files
committed
remove modify schema_def
1 parent c31b33a commit 0b7b7ab

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

apisix/schema_def.lua

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -729,18 +729,7 @@ _M.credential = {
729729
type = "object",
730730
properties = {
731731
-- metadata
732-
id = {
733-
oneOf = {
734-
id_schema,
735-
-- id: "${consumer_name}/credentials/${credential_id}" from standalone mode
736-
{
737-
type = "string",
738-
minLength = 15,
739-
maxLength = 128,
740-
pattern = [[^[a-zA-Z0-9]+/credentials/[a-zA-Z0-9]+$]],
741-
}
742-
}
743-
},
732+
id = id_schema,
744733
name = rule_name_def,
745734
desc = desc_def,
746735
labels = labels_def,

0 commit comments

Comments
 (0)