feat(ext-openapi): a pattern says in words what its regex says in symbols #25

Closed
Relism wants to merge 0 commits from feat/openapi/pattern-in-words into master
Owner

A schema's pattern is precise and unreadable. When the constraint declares a message, that message now goes in the property's description too, after whatever the property already said, so the document carries both the rule a machine checks and the sentence a person reads.

Only @Pattern does this. Every other constraint has a keyword that already reads: required, maxLength, format: email. Repeating those as prose would be noise.

🤖 Generated with Claude Code

A schema's pattern is precise and unreadable. When the constraint declares a message, that message now goes in the property's description too, after whatever the property already said, so the document carries both the rule a machine checks and the sentence a person reads. Only `@Pattern` does this. Every other constraint has a keyword that already reads: `required`, `maxLength`, `format: email`. Repeating those as prose would be noise. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Relism added 1 commit 2026-09-24 12:04:07 +00:00
A schema's pattern is precise and unreadable. When the constraint declares a
message, that message now goes in the property's description too, after
whatever the property already said, so the document carries both the rule a
machine checks and the sentence a person reads.

Only @Pattern does this. Every other constraint has a keyword that already
reads: required, maxLength, format: email. Repeating those as prose would be
noise.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Author
Owner

Landed in master with #26, which was built on this commit: 5164f8c is in master as of 2608302. Closing so the two do not publish twice.

Landed in master with #26, which was built on this commit: 5164f8c is in `master` as of 2608302. Closing so the two do not publish twice.
Relism closed this pull request 2026-09-24 12:07:57 +00:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Relism/Flash5#25