@Test
		@EnabledForJreRange(min = JRE.JAVA_17)
		void ifRecordObjectShouldGetField() throws IOException, ClassNotFoundException, IntrospectionException {
			File recordObject = new File(tempDir, "RecordObject.java");
			try (PrintWriter writer = new PrintWriter(new FileWriter(recordObject))) {
				writer.println("/**");
				writer.println(" * Record Object");
				writer.println(" *");
				writer.println(" * @param id the id");
				writer.println(" * @param name the name");
				writer.println(" */");
				writer.println("public record RecordObject(String id, String name){");
				writer.println("}");
			}
			File recordObjectJavadocJson = new File(tempDir, "RecordObject__Javadoc.json");
			try (PrintWriter writer = new PrintWriter(new FileWriter(recordObjectJavadocJson))) {
				writer.print("{");
				writer.print("\"doc\":\"Record Object\\n\\n @param id the id\\n @param name the name\",");
				writer.print("\"fields\":[],");
				writer.print("\"methods\":[],");
				writer.print("\"constructors\":[]");
				writer.println("}");
			}

			String[] args = {
					recordObject.getAbsolutePath()
			};
			JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
			int r = compiler.run(null, null, null, args);
			if (r != 0) {
				throw new IllegalStateException("Compilation failed");
			}
			URL[] urls = { tempDir.toURI().toURL() };
			ClassLoader loader = URLClassLoader.newInstance(urls);

			Class<?> cls = loader.loadClass("RecordObject");

			List<Field> fields = Arrays.asList(cls.getFields());

			Schema existingSchema = new ObjectSchema().name("RecordObject")
					.addProperty("id", new StringSchema().name("id"))
					.addProperty("name", new StringSchema().name("name"));

			List<PropertyDescriptor> propertyDescriptors = Arrays.asList(Introspector.getBeanInfo(cls).getPropertyDescriptors());
			javadocPropertyCustomizer.setJavadocDescription(cls, fields, propertyDescriptors, existingSchema, false);

			assertEquals("Record Object", existingSchema.getDescription());
			Map<String, Schema> properties = existingSchema.getProperties();
			assertEquals(2, properties.size());
			assertEquals("the id", properties.get("id").getDescription());
			assertEquals("the name", properties.get("name").getDescription());
		}
Tests for {@link JavadocPropertyCustomizer#setJavadocDescription(Class, List, List, Schema)}.
springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/java/test/org/springdoc/api/v30/app172/JavadocPropertyCustomizerTest.java