Skip to content

Consolidate @Nullable/@Deprecated detection #3

@neiser

Description

@neiser

A @Nullable annotation sets the property required to false in SchemaCustomizerForNullable and DefaultOperationParameterNullableCustomizer.

Introduce a new interface which consolidates this @Nullable detection and also support more annotations such as @NotNull and others (make dependencies optional though!)

Do the same for @Deprecated, see DefaultOperationParameterDeprecatedCustomizer and SchemaCustomizerForDeprecated

For "reference like types" such as Optional, one could also consider this as if the type is annotated with @Nullable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions