Skip to content

Make pointers and/or OmittableNullable nullable in the generated OpenAPI spec #238

@gregoryjjb

Description

@gregoryjjb

How can I set fields to be nullable in the generated spec? I can't find any way to set nullability on a Schema.

Ideally I'd like to make pointers always nullable (to match my Go code as closely as possible), and/or have custom types like the OmittableNullable example generate as nullable.

Thanks in advance ❤️

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions