Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: include patternProperties in object schema #106

Merged
merged 1 commit into from Mar 20, 2024

Conversation

aleclarson
Copy link
Contributor

@aleclarson aleclarson commented Mar 16, 2024

The patternProperties must be placed beside the type: "object" property to be properly supported by other tools. Before this commit, it was being placed beside the content property of a ResponseObject.

@aleclarson aleclarson force-pushed the fix/patternProperties branch 3 times, most recently from 6159593 to ceb3515 Compare March 16, 2024 17:21
Copy link
Collaborator

@marclave marclave left a comment

Choose a reason for hiding this comment

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

nice PR @aleclarson ! the patternProperties was introduced in version 3.1 IIRC? :)

@marclave marclave merged commit a5d3a04 into elysiajs:main Mar 20, 2024
1 check passed
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.

None yet

2 participants