-
Notifications
You must be signed in to change notification settings - Fork 53
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 schema for Maybe #91
base: master
Are you sure you want to change the base?
Conversation
@maksbotan is any explicit "ping" required for review? |
Hi @stevladimir! I've seen this one, but I need some time to check if it's OK. I fear that something might break... Like optional fields. |
Ah, ok... As I've said "No rush". |
Maybe I'll see if this changes openapi json at our work project. |
It should change, but in expected way. Schema for Maybe should change to, conceptually |
For more context. Master
This PR
|
How does it work for |
Per documentation
So this option does not affect parsing. So far so good... |
@maksbotan friendly ping |
Note that in OpenAPI It's only since |
Indeed. It should be feasible to rework this using |
The schema for Maybe is obviously wrong. I can guess it was done that way to be able to handle optional record fields, but looks like one can have both: correct schema for Maybe and optional fields.
Note, that this is built upon #90.
Target changes: 6f4a07a and forward