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: sample generation for mixed null schemas #775

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

erunion
Copy link
Member

@erunion erunion commented Jun 26, 2023

🚥 Fixes CX-339

🧰 Changes

This fixes a bug in our response sample generation where if a schema were an anyOf that contained a null item or was a type: [...] schema then the same that we'd generate for that schema property would the error message of "Unknown type: ". For example:

CleanShot 2023-05-25 at 14 21 38@2x

@erunion erunion added the bug Something isn't working label Jun 26, 2023
@erunion erunion merged commit a19721b into main Jun 26, 2023
@erunion erunion deleted the fix/mixed-null-sample-generation branch June 26, 2023 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant