Skip to content

Commit

Permalink
update json schema
Browse files Browse the repository at this point in the history
  • Loading branch information
haricnugraha committed Apr 26, 2024
1 parent 15c0a51 commit 5b64efe
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion src/schemas/json/monika-config-schema.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/hyperjumptech/monika/main/monika-config-schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"urlFormat": {
Expand Down Expand Up @@ -247,6 +247,13 @@
"additionalProperties": false,
"required": ["url"],
"properties": {
"id": {
"title": "Id",
"type": "string",
"description": "Unique string identification of the request",
"examples": ["1"],
"default": "1"
},
"method": {
"title": "HTTP Method",
"type": "string",
Expand Down Expand Up @@ -302,6 +309,13 @@
"body": {
"$ref": "#/definitions/body"
},
"followRedirects": {
"title": "Follow Redirects",
"description": "The request follows redirects as many times as specified here",
"type": "integer",
"examples": ["21"],
"default": "21"
},
"headers": {
"$ref": "#/definitions/headers"
}
Expand Down Expand Up @@ -1315,6 +1329,12 @@
"examples": [30]
}
}
},
"version": {
"type": "string",
"title": "Monika configuration version",
"description": "Monika configuration version",
"default": "1"
}
},
"type": "object"
Expand Down

0 comments on commit 5b64efe

Please sign in to comment.