Skip to content

fix: correct typing of exclusive maximums and minimums for draft7 jso…#188

Merged
VisualBean merged 1 commit into
LEGO:mainfrom
dpwdec:fix-json-schema-exminmax
Jul 9, 2024
Merged

fix: correct typing of exclusive maximums and minimums for draft7 jso…#188
VisualBean merged 1 commit into
LEGO:mainfrom
dpwdec:fix-json-schema-exminmax

Conversation

@dpwdec

@dpwdec dpwdec commented Jul 9, 2024

Copy link
Copy Markdown
Contributor

It seems like for json schema draft-07 that exclusiveMinimum and exclusiveMaximum are actually values. The current implementation seems to have been done in line with draft-04 which is not supported by AsyncAPI.

Reference: https://json-schema.org/understanding-json-schema/reference/numeric#range

@VisualBean VisualBean left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great catch

@VisualBean VisualBean merged commit fb50d00 into LEGO:main Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants