Skip to content

Conversation

hontas
Copy link
Contributor

@hontas hontas commented May 5, 2025

Changes

Add support for patternProperties in addition to additionalProperties (#754).
Building on the work of @gzm0 in 1901 by adding tests

Ran the command pnpm run update:examples which created 129 new files and updated 69, none of which seemed related to this change. Let me know if you wan't me to do it anyways.

How to Review

Refer to comments in original PR 1901
Validate tests are satisfactory

Checklist

  • Unit tests updated
  • docs/ updated (if necessary)
  • pnpm run update:examples run (only applicable for openapi-typescript)

@hontas hontas requested a review from a team as a code owner May 5, 2025 08:21
@hontas hontas requested a review from kerwanp May 5, 2025 08:21
Copy link

netlify bot commented May 5, 2025

👷 Deploy request for openapi-ts pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit b5ccff0

Copy link

changeset-bot bot commented May 5, 2025

🦋 Changeset detected

Latest commit: b5ccff0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
openapi-typescript Minor
swr-openapi Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@hontas hontas force-pushed the pattern-properties branch from f508c21 to b299279 Compare May 5, 2025 08:34
@gzm0
Copy link
Contributor

gzm0 commented May 5, 2025

@kerwanp LMK if you'd like to hand-off review to me here.
@hontas TY so much for taking this over!

@drwpow
Copy link
Contributor

drwpow commented May 12, 2025

@gzm0 yes please feel free to review! The round-robin assignment was only meant to divide the PR reviews among us evenly, but always feel free to jump in and stamp a PR if you have context/time

@drwpow drwpow requested a review from gzm0 May 12, 2025 01:22
@bRRRITSCOLDtkww
Copy link

Any more movement on this?

@hontas hontas force-pushed the pattern-properties branch from b299279 to 50ad586 Compare August 19, 2025 08:28
@hontas
Copy link
Contributor Author

hontas commented Aug 19, 2025

@gzm0 thanks for the feedback!
I have updated to what I think you meant. Please have a look 🙏

@hontas hontas requested a review from gzm0 August 27, 2025 20:21
VaiTon added a commit to openfoodfacts/openfoodfacts-js that referenced this pull request Sep 7, 2025
…repo and enhance type definitions in v2 and v3 schemas

Until openapi-ts/openapi-typescript#2288 is merged we can use a fork to have the patternProperties openapi spec included into the generated typing
Copy link
Contributor

@gzm0 gzm0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Sorry for the delay on this one.

The behavior looks good. There is just a control flow concern. Then I think we can ship this.

@gzm0 gzm0 added the openapi-ts Relevant to the openapi-typescript library label Oct 2, 2025
@hontas
Copy link
Contributor Author

hontas commented Oct 7, 2025

@gzm0 no worries. Good catch - updated 👍

@gzm0 gzm0 merged commit 0f22be2 into openapi-ts:main Oct 7, 2025
7 checks passed
@openapi-ts-bot openapi-ts-bot mentioned this pull request Oct 7, 2025
@openapi-ts-bot openapi-ts-bot mentioned this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

openapi-ts Relevant to the openapi-typescript library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants