Skip to content

Conversation

ammario
Copy link
Member

@ammario ammario commented Sep 23, 2025

Fixes inaccurate documentation about Line Processor response formats.

The Line Processor does NOT accept simple text "allow" or "deny". Based on the implementation in src/rules/common.rs:46-76, it accepts:

  • "true" / "false" (boolean strings)
  • JSON objects with allow/deny_message
  • Any other text is treated as deny with that text as the message

This PR updates all examples to use the correct format.

The Line Processor does NOT accept simple text 'allow' or 'deny'.
It accepts:
- 'true' / 'false' (boolean strings)
- JSON objects with allow/deny_message
- Any other text is treated as deny with that text as the message

This commit updates all examples to use the correct 'true'/'false'
format instead of 'allow'/'deny'.
@ammario ammario merged commit bf70cac into main Sep 23, 2025
6 checks passed
@ammario ammario deleted the fix-docs-accuracy branch September 23, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant