jx/internal/resource/schemas/http.jsonschema
Matthew Rich 11a55e27d0
Some checks failed
Lint / golangci-lint (push) Failing after 9m54s
Declarative Tests / test (push) Successful in 1m21s
add http resource create method
2024-04-10 12:38:12 -07:00

32 lines
621 B
Plaintext

{
"$id": "http.jsonschema",
"$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"
}
}
}