public static boolean hasNotNullAnnotation(Collection<String> annotationSimpleNames) {
		return ANNOTATIONS_FOR_REQUIRED.stream().anyMatch(annotationSimpleNames::contains);
	}
Check if the parameter has any of the annotations that make it non-optional

@param annotationSimpleNames the annotation simple class named, e.g. NotNull
@return whether any of the known NotNull annotations are present
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/utils/SchemaUtils.java