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

Nullable fields should actually be omitted #103

@zh4ngx

Description

@zh4ngx

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions