Skip to content

Generate patternProperties and propertyNames objects - #140

Merged
rasuvaeff merged 7 commits into
masterfrom
feat/157-pattern-properties
Oct 11, 2026
Merged

rasuvaeff merged 7 commits into
masterfrom
feat/157-pattern-properties

Conversation

@rasuvaeff

@rasuvaeff rasuvaeff commented Oct 11, 2026 •

Copy link
Copy Markdown
Owner

Implements generator support for the first schema-keyword stage of openapi-contract issue #157.

Object generation handles patternProperties and propertyNames.pattern. Keys come from declared regexes, declared properties are checked against propertyNames, and generated values satisfy the intersection of every matching pattern schema. Unsupported dependent and unevaluated assertion keywords remain fail-closed.

Adds an end-to-end generator zoo operation and records its requests in the companion contract PR corpus. CI checks this package against the contract PR branch in the PHP matrix, prefer-lowest, and mutation jobs.

Depends on rasuvaeff/openapi-contract#171.

Validation: make build (992 tests, 20694 assertions; PHPUnit 3 tests), Rector, and mutation gate (91% MSI).

@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ed406081-d905-438e-abda-19fbbeffd0d0

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@rasuvaeff
rasuvaeff merged commit 3738057 into master Oct 11, 2026
13 checks passed
@rasuvaeff
rasuvaeff deleted the feat/157-pattern-properties branch October 11, 2026 13:17
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