changedInput schema / properties / verify / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "algorithm": {
- "enum": [
- "sha256",
- "sha512",
- "sha1"
- ],
- "type": "string"
- },
- "encoding": {
- "enum": [
- "hex",
- "base64"
- ],
- "type": "string"
- },
- "forward_only_verified": {
- "description": "true: forward only messages whose signature verified; the rest stay in the inbox (forward status skipped, not_verified).",
- "type": "boolean"
- },
- "header": {
- "description": "hmac only: the signature header.",
- "maxLength": 100,
- "minLength": 1,
- "type": "string"
- },
- "prefix": {
- "maxLength": 20,
- "type": "string"
- },
- "preset": {
- "enum": [
- "github",
- "stripe",
- "slack",
- "zoom",
- "hmac"
- ],
- "type": "string"
- },
- "reject_unverified": {
- "type": "boolean"
- },
- "secret": {
- "description": "The sender's signing secret (stored encrypted, never shown).",
- "maxLength": 256,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "preset",
- "secret"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "algorithm": {
+ "description": "hmac only, default sha256.",
+ "enum": [
+ "sha256",
+ "sha512",
+ "sha1"
+ ],
+ "type": "string"
+ },
+ "encoding": {
+ "description": "hmac only, default hex.",
+ "enum": [
+ "hex",
+ "base64"
+ ],
+ "type": "string"
+ },
+ "forward_only_verified": {
+ "description": "true: forward only messages whose signature verified; the rest stay in the inbox (forward status skipped, not_verified).",
+ "type": "boolean"
+ },
+ "header": {
+ "description": "hmac only: the signature header.",
+ "maxLength": 100,
+ "minLength": 1,
+ "type": "string"
+ },
+ "prefix": {
+ "description": "hmac only: text before the signature, for example \"sha256=\".",
+ "maxLength": 20,
+ "type": "string"
+ },
+ "preset": {
+ "description": "The sender: github, stripe, slack or zoom, or hmac for any other sender that signs with HMAC.",
+ "enum": [
+ "github",
+ "stripe",
+ "slack",
+ "zoom",
+ "hmac"
+ ],
+ "type": "string"
+ },
+ "reject_unverified": {
+ "description": "true: a message that fails is refused with 401 and not stored.",
+ "type": "boolean"
+ },
+ "secret": {
+ "description": "The sender's signing secret (stored encrypted, never shown).",
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "preset",
+ "secret"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]