public OpenAPI read(Class<?> cls) {
        return read(cls, resolveApplicationPath(), null, false, null, null, new LinkedHashSet<String>(), new ArrayList<Parameter>(), new HashSet<Class<?>>());
    }
@Test
    public void test4446CyclicProp() {
        Reader reader = new Reader(new OpenAPI());

        OpenAPI openAPI = reader.read(Ticket4446Resource.class);
        String yaml = "openapi: 3.0.1\n" +
                "paths:\n" +
                "  /test/test:\n" +
                "    get:\n" +
                "      operationId: getCart\n" +
                "      responses:\n" +
                "        default:\n" +
                "          description: default response\n" +
                "          content:\n" +
                "            '*/*':\n" +
                "              schema:\n" +
                "                $ref: '#/components/schemas/MyPojo'\n" +
                "components:\n" +
                "  schemas:\n" +
                "    MyPojo:\n" +
                "      type: object\n" +
                "      properties:\n" +
                "        someStrings:\n" +
                "          type: array\n" +
                "          items:\n" +
                "            type: string\n" +
                "        morePojos:\n" +
                "          type: array\n" +
                "          items:\n" +
                "            $ref: '#/components/schemas/MyPojo'\n";
        SerializationMatchers.assertEqualsToYaml(openAPI, yaml);
    }