Skip to content

Conversation

@mnahkies
Copy link
Owner

adds direct unit tests for input schema normalization, covering most branches.

this will facilitate several improvements / bug fixes in subsequent changes, split from #386

})

// todo: implement
it.skip("handles openapi 3.0 boolean exclusiveMaximum / exclusiveMinimum modifiers (true)", () => {
Copy link
Owner Author

Choose a reason for hiding this comment

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

Turns out the use of deepEqual(schema, ...) isn't a great idea, as irrelevant properties like description will make it fail 🙃 - to be solved in a follow up.

@mnahkies mnahkies enabled auto-merge (squash) November 30, 2025 16:27
@mnahkies mnahkies merged commit 3014e00 into main Nov 30, 2025
22 checks passed
@mnahkies mnahkies deleted the mn/test/schema-normalization branch November 30, 2025 16:29
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.

2 participants