Skip to content

Commit

Permalink
fix: update response-rewrite schema
Browse files Browse the repository at this point in the history
  • Loading branch information
guoqqqi committed Jun 9, 2022
1 parent a7246db commit 654751e
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions api/conf/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -6857,19 +6857,22 @@
"priority": 899,
"schema": {
"$comment": "this is a mark for our injected plugin schema",
"minProperties": 1,
"oneOf": [
{
"required": [
"body"
]
},
{
"required": [
"filters"
]
}
],
"dependencies": {
"filters": {
"not": {
"required": [
"body"
]
}
},
"body": {
"not": {
"required": [
"filters"
]
}
}
},
"properties": {
"body": {
"description": "new body for response",
Expand Down

0 comments on commit 654751e

Please sign in to comment.