protected String resolvePattern(MemberScope<?, ?> member) {
        return this.getSchemaAnnotationValue(member, Schema::pattern, pattern -> !pattern.isEmpty())
                .orElse(null);
    }
Look-up the value from {@code @Schema(pattern = ...)} for the given field/method.

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