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 testSiblingsOnProperty() {
        Reader reader = new Reader(new SwaggerConfiguration().openAPI(new OpenAPI()).openAPI31(true));
        Set<Class<?>> classes = new HashSet<>(Arrays.asList(SiblingPropResource.class, WebHookResource.class));
        OpenAPI openAPI = reader.read(classes);
        String yaml = "openapi: 3.1.0\n" +
                "paths:\n" +
                "  /pet:\n" +
                "    put:\n" +
                "      tags:\n" +
                "      - pet\n" +
                "      summary: Update an existing pet\n" +
                "      operationId: updatePet\n" +
                "      requestBody:\n" +
                "        description: Pet object that needs to be updated in the store\n" +
                "        content:\n" +
                "          application/json:\n" +
                "            schema:\n" +
                "              $ref: '#/components/schemas/Pet'\n" +
                "              description: A Pet in JSON Format\n" +
                "              required:\n" +
                "              - id\n" +
                "              writeOnly: true\n" +
                "          application/xml:\n" +
                "            schema:\n" +
                "              $ref: '#/components/schemas/Pet'\n" +
                "              description: A Pet in XML Format\n" +
                "              required:\n" +
                "              - id\n" +
                "              writeOnly: true\n" +
                "        required: true\n" +
                "      responses:\n" +
                "        \"200\":\n" +
                "          description: Successful operation\n" +
                "          content:\n" +
                "            application/xml:\n" +
                "              schema:\n" +
                "                $ref: '#/components/schemas/Pet'\n" +
                "                description: A Pet in XML Format\n" +
                "                readOnly: true\n" +
                "            application/json:\n" +
                "              schema:\n" +
                "                $ref: '#/components/schemas/Pet'\n" +
                "                description: A Pet in JSON Format\n" +
                "                readOnly: true\n" +
                "        \"400\":\n" +
                "          description: Invalid ID supplied\n" +
                "        \"404\":\n" +
                "          description: Pet not found\n" +
                "        \"405\":\n" +
                "          description: Validation exception\n" +
                "      security:\n" +
                "      - petstore_auth:\n" +
                "        - write:pets\n" +
                "        - read:pets\n" +
                "      - mutual_tls: []\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" +
                "webhooks:\n" +
                "  newPet:\n" +
                "    post:\n" +
                "      requestBody:\n" +
                "        description: Information about a new pet in the system\n" +
                "        content:\n" +
                "          application/json:\n" +
                "            schema:\n" +
                "              $ref: '#/components/schemas/Pet'\n" +
                "              description: Webhook Pet\n" +
                "      responses:\n" +
                "        \"200\":\n" +
                "          description: Return a 200 status to indicate that the data was received\n" +
                "            successfully\n";
        SerializationMatchers.assertEqualsToYaml31(openAPI, yaml);
    }