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

        OpenAPI openAPI = reader.read(SiblingsResourceResponse.class);
        String yaml = "openapi: 3.1.0\n" +
                "paths:\n" +
                "  /test:\n" +
                "    get:\n" +
                "      operationId: getCart\n" +
                "      responses:\n" +
                "        \"300\":\n" +
                "          description: aaa\n" +
                "          content:\n" +
                "            application/json:\n" +
                "              schema:\n" +
                "                $ref: '#/components/schemas/PetSimple'\n" +
                "                description: resource pet\n" +
                "                readOnly: true\n" +
                "            application/xml:\n" +
                "              schema:\n" +
                "                $ref: '#/components/schemas/PetSimple'\n" +
                "                description: resource pet xml\n" +
                "                readOnly: true\n" +
                "  /test/impl:\n" +
                "    get:\n" +
                "      operationId: getCartImpl\n" +
                "      responses:\n" +
                "        \"300\":\n" +
                "          description: aaa\n" +
                "          content:\n" +
                "            application/json:\n" +
                "              schema:\n" +
                "                $ref: '#/components/schemas/PetSimple'\n" +
                "                description: resource pet\n" +
                "                readOnly: true\n" +
                "            application/xml:\n" +
                "              schema:\n" +
                "                $ref: '#/components/schemas/PetSimple'\n" +
                "                description: resource pet xml\n" +
                "                readOnly: true\n" +
                "components:\n" +
                "  schemas:\n" +
                "    PetSimple:\n" +
                "      description: Pet\n";
        SerializationMatchers.assertEqualsToYaml31(openAPI, yaml);
    }