private void generateArrayFields(ObjectNode fieldNode, FieldInfo field, Map<TypeSignature, String> visited,
                                     String path) {
        final ObjectNode items = mapper.createObjectNode();

        final TypeSignature itemsType =
                ((ContainerTypeSignature) field.typeSignature()).typeParameters().get(0);
        // Create a field info with no name. Field infos with no name are considered to be unpacked.
        final FieldInfo itemFieldInfo = FieldInfo.builder("", itemsType)
                                                 .location(FieldLocation.BODY)
                                                 .requirement(FieldRequirement.OPTIONAL)
                                                 .build();

        generateField(itemFieldInfo, visited, path + "/items", items, null);

        fieldNode.set("items", items);
    }
Create the JSON node for an array field.
Example for `list(int)`: {"type": "array", "items": {"type": "integer"}}

@see <a href="https://json-schema.org/understanding-json-schema/reference/array.html">JSON Schema</a>
core/src/main/java/com/linecorp/armeria/server/docs/JsonSchemaGenerator.java