private static Stream<MethodParameter> fromGetterOfField(Class<?> paramClass, Field field, String fieldNamePrefix, boolean parentRequired) {
		Class<?> type = extractType(paramClass, field);

		if (Objects.isNull(type))
			return Stream.empty();

		if (isSimpleType(type))
			return fromSimpleClass(paramClass, field, fieldNamePrefix, parentRequired);
		else {
			Parameter parameter = field.getAnnotation(Parameter.class);
			Schema schema = field.getAnnotation(Schema.class);
			boolean visible = SchemaUtils.swaggerVisible(schema, parameter);
			if (!visible) {
				return Stream.empty();
			}
			String prefix = fieldNamePrefix + resolveName(parameter, schema).orElse(field.getName()) + DOT;
			boolean fieldRequired = SchemaUtils.fieldRequired(field, schema, parameter);
			return extractFrom(type, prefix, parentRequired && fieldRequired);
		}
	}
From getter of field stream.

@param paramClass      the param class
@param field           the field
@param fieldNamePrefix the field name prefix
@param parentRequired  whether the field that holds the class currently being examined was required or optional
@return the stream
springdoc-openapi-starter-common/src/main/java/org/springdoc/core/extractor/MethodParameterPojoExtractor.java