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 testSiblings() {
        Reader reader = new Reader(new SwaggerConfiguration().openAPI(new OpenAPI()).openAPI31(true));

        OpenAPI openAPI = reader.read(SiblingsResource.class);
        String yaml = "openapi: 3.1.0\n" +
                "paths:\n" +
                "  /test:\n" +
                "    get:\n" +
                "      operationId: getCart\n" +
                "      responses:\n" +
                "        default:\n" +
                "          description: default response\n" +
                "          content:\n" +
                "            '*/*':\n" +
                "              schema:\n" +
                "                $ref: '#/components/schemas/Pet'\n" +
                "components:\n" +
                "  schemas:\n" +
                "    Category:\n" +
                "      description: parent\n" +
                "      properties:\n" +
                "        id:\n" +
                "          type: integer\n" +
                "          format: int64\n" +
                "    Pet:\n" +
                "      description: Pet\n" +
                "      properties:\n" +
                "        category:\n" +
                "          $ref: '#/components/schemas/Category'\n" +
                "          description: child\n";
        SerializationMatchers.assertEqualsToYaml31(openAPI, yaml);
    }