Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/content/docs/rules/custom-errors/create-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ curl --request PUT \
--header "Authorization: Bearer <API_TOKEN>" \
--header "Content-Type: application/json" \
--data '{
"description": "Standard 5xx error template page",
"url": "https://example.com/errors/500_new_template.html"
}'
```
Expand Down
2 changes: 1 addition & 1 deletion src/content/docs/rules/custom-errors/parameters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Custom error assets have the following parameters:
- Numbers (`0-9`)
- The underscore (`_`) character
- The maximum length is 200 characters.
- **`description`** <Type text="String"/> <MetaInfo text="Optional"/>
- **`description`** <Type text="String"/> <MetaInfo text="Required"/>
- A string describing the custom error asset.
- Example value: `"Standard 5xx error template page"`.
- **`url`** <Type text="String"/> <MetaInfo text="Required"/>
Expand Down
Loading