Skip to content

feat/pattern props to v2#2758

Merged
baywet merged 2 commits intosupport/v2from
feat/pattern-props-to-v2
Mar 5, 2026
Merged

feat/pattern props to v2#2758
baywet merged 2 commits intosupport/v2from
feat/pattern-props-to-v2

Conversation

@baywet
Copy link
Member

@baywet baywet commented Mar 5, 2026

port of #2755 to v2

Copilot AI and others added 2 commits March 5, 2026 10:22
…erties extension for OpenAPI v2/v3.0 serialization

- Add PatternPropertiesExtension constant ("x-jsonschema-patternProperties")
- Emit extension when serializing to OpenAPI v2.0 or v3.0 and PatternProperties is non-empty
- Parse the extension back into PatternProperties when deserializing v2.0 or v3.0 documents
- Add unit tests for both serialization and deserialization round-trip

Co-authored-by: baywet <7905502+baywet@users.noreply.github.com>
@baywet baywet requested a review from a team as a code owner March 5, 2026 15:27
@baywet baywet self-assigned this Mar 5, 2026
@baywet baywet enabled auto-merge March 5, 2026 15:27
@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 5, 2026

@baywet baywet merged commit 55c2c84 into support/v2 Mar 5, 2026
17 checks passed
@baywet baywet deleted the feat/pattern-props-to-v2 branch March 5, 2026 16:04
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.

3 participants