Skip to content

Conversation

@albertored
Copy link
Contributor

When elements of a discriminator does not have a title property the cast fails. The mapping can indeed contain references so we can fallback to use them to retrieve the discriminator schema from ctx.schemas.

A part for variables renaming the main change is this

Copy link
Contributor

@zorbash zorbash left a comment

Choose a reason for hiding this comment

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

LGTM

@zorbash zorbash merged commit 531607c into open-api-spex:master Nov 22, 2023
hou8 pushed a commit to hou8/open_api_spex that referenced this pull request Apr 18, 2024
Co-authored-by: Alberto Sartori <alberto.sartori@hpe.com>
@albertored albertored deleted the fix-discriminator branch December 17, 2024 15:45
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