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

        OpenAPI openAPI = reader.read(SiblingsResourceRequestBody.class);
        String yaml = "openapi: 3.1.0\n" +
                "paths:\n" +
                "  /test/bodyimpl:\n" +
                "    get:\n" +
                "      operationId: getBodyImpl\n" +
                "      requestBody:\n" +
                "        description: aaa\n" +
                "        content:\n" +
                "          application/json:\n" +
                "            schema:\n" +
                "              $ref: '#/components/schemas/PetSimple'\n" +
                "              description: resource pet\n" +
                "              writeOnly: true\n" +
                "      responses:\n" +
                "        default:\n" +
                "          description: default response\n" +
                "          content:\n" +
                "            '*/*': {}\n" +
                "  /test/bodyimplparam:\n" +
                "    get:\n" +
                "      operationId: getBodyImplParam\n" +
                "      requestBody:\n" +
                "        content:\n" +
                "          '*/*':\n" +
                "            schema:\n" +
                "              $ref: '#/components/schemas/PetSimple'\n" +
                "              description: resource pet\n" +
                "              writeOnly: true\n" +
                "      responses:\n" +
                "        default:\n" +
                "          description: default response\n" +
                "          content:\n" +
                "            '*/*': {}\n" +
                "components:\n" +
                "  schemas:\n" +
                "    PetSimple:\n" +
                "      description: Pet\n";
        SerializationMatchers.assertEqualsToYaml31(openAPI, yaml);
    }