Skip to content
This repository has been archived by the owner on Mar 23, 2022. It is now read-only.

Nullable fields should actually be omitted #103

Open
zh4ngx opened this issue Nov 29, 2021 · 0 comments
Open

Nullable fields should actually be omitted #103

zh4ngx opened this issue Nov 29, 2021 · 0 comments

Comments

@zh4ngx
Copy link
Contributor

zh4ngx commented Nov 29, 2021

When using the OpenAPI yaml, a nullable field is expected to not exist if it is null. If instead it is "fieldName": null, the generated code (for example, in Go) will treat it like this: {"value": null, "exists:" true}, which is an odd and unexpected outcome.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant