Skip to content

openapi_schema: fix error when passed discriminator has wrong type#15

Merged
maxlapshin merged 1 commit intoflussonic:masterfrom
stolen:fix-error-on-bad-discriminator-type
Sep 4, 2025
Merged

openapi_schema: fix error when passed discriminator has wrong type#15
maxlapshin merged 1 commit intoflussonic:masterfrom
stolen:fix-error-on-bad-discriminator-type

Conversation

@stolen
Copy link
Copy Markdown
Contributor

@stolen stolen commented Sep 4, 2025

In some cases bad discriminator type (e.g. integer when property has type: string) caused a crash.
This PR fixes this crash.

@maxlapshin maxlapshin merged commit 25aec5f into flussonic:master Sep 4, 2025
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