Skip to content

Commit

Permalink
refactor: clean json-schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ThibaudAV committed Jun 27, 2023
1 parent b34b505 commit 852c589
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions src/main/resources/schemas/schema-form.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
{
"type" : "object",
"id" : "urn:jsonschema:io:gravitee:policy:overriderequestmethod:configuration:OverrideRequestMethodPolicyConfiguration",
"properties" : {
"method" : {
"title": "HTTP Method",
"description": "Override the HTTP request method with the given value.",
"type" : "string",
"default": "GET",
"enum" : [ "GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "CONNECT", "OPTIONS", "TRACE" ]
}
},
"required": [
"method"
]
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"additionalProperties": false,
"properties": {
"method": {
"title": "HTTP Method",
"description": "Override the HTTP request method with the given value.",
"type": "string",
"default": "GET",
"enum": ["GET", "POST", "PUT", "DELETE", "PATCH", "HEAD", "CONNECT", "OPTIONS", "TRACE"]
}
},
"required": ["method"]
}

0 comments on commit 852c589

Please sign in to comment.