Skip to content

openapi3gen does not generate nullable: true for pointers #968

@josephbuchma

Description

@josephbuchma

This should include "nullable": true
https://github.com/getkin/kin-openapi/blob/master/openapi3gen/openapi3gen_test.go#L115-L117

This issue is not possible to fix using openapi3gen.SchemaCustomizer because reflect.Type passed into openapi3.SchemaCustomizerFn is never a pointer.

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