jx/internal/resource/schemas/http.schema.json
Matthew Rich a6426da6e1
Some checks failed
Lint / golangci-lint (push) Successful in 9m53s
Declarative Tests / test (push) Failing after 5s
Declarative Tests / build-fedora (push) Successful in 2m12s
Declarative Tests / build-ubuntu-focal (push) Successful in 1m21s
add support for RSA keys/certs
2024-07-17 01:34:57 -07:00

32 lines
622 B
JSON

{
"$id": "http.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "http",
"type": "object",
"required": [ "endpoint" ],
"properties": {
"endpoint": {
"type": "string"
},
"headers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "HTTP header name"
},
"value": {
"type": "string",
"description": "HTTP header value"
}
}
}
},
"body": {
"type": "string"
}
}
}