protected Integer resolveMaxLength(MemberScope<?, ?> member) {
        return this.getSchemaAnnotationValue(member, Schema::maxLength, maxLength -> maxLength < Integer.MAX_VALUE && maxLength > -1)
                .orElse(null);
    }
Look-up the value from {@code @Schema(maxLength = ...)} for the given field/method.

@param member field/method to look-up maximum string length for
@return maximum string length or null
jsonschema-module-swagger-2/src/main/java/com/github/victools/jsonschema/module/swagger2/Swagger2Module.java