protected Boolean checkNullable(MemberScope<?, ?> member) {
        return this.getSchemaAnnotationValue(member, Function.identity(), x -> true)
                .map(Schema::nullable)
                .orElse(null);
    }
Determine whether the given field/method may be null based on {@code @Schema(nullable = true)}.

@param member field/method to check
@return whether the field/method is nullable
jsonschema-module-swagger-2/src/main/java/com/github/victools/jsonschema/module/swagger2/Swagger2Module.java