Skip to content

Commit cd40f0f

Browse files
rickbijkerkRick Bijkerkldebruijn
authored
fix configuration example (#38)
Co-authored-by: Rick Bijkerk <[email protected]> Co-authored-by: Lars de Bruijn <[email protected]>
1 parent 9a01406 commit cd40f0f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/configuration.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ persisted_operations:
6060

6161
max_aliases:
6262
# Enable the feature
63-
enable: true
63+
enabled: true
6464
# The maximum number of allowed aliases within a single request.
6565
max: 15
6666
# Reject the request when the rule fails. Disable this to allow the request
@@ -71,15 +71,15 @@ block_field_suggestions:
7171
mask: [redacted]
7272

7373
max_depth:
74-
enable: true
74+
enabled: true
7575
# The maximum allowed depth within a single request.
7676
max: 15
7777
# Reject the request when the rule fails. Disable this to allow the request
7878
reject_on_failure: false
7979

8080
max_tokens:
8181
# Enable the feature
82-
enable: true
82+
enabled: true
8383
# The maximum number of allowed tokens within a single request.
8484
max: 10000
8585
# Reject the request when the rule fails. Disable this to allow the request regardless of token count.
@@ -93,9 +93,9 @@ max_batch:
9393
# Reject the request when the rule fails. Disable this to allow the request regardless of token count.
9494
reject_on_failure: "true"
9595

96-
disable_get_method:
96+
enforce_post:
9797
# Enable the feature
98-
enable: "true"
98+
enabled: true
9999
```
100100
101101
For a more in-depth view of each option visit the accompanying documentation page.

0 commit comments

Comments
 (0)