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

        OpenAPI openAPI = reader.read(TagResource.class);
        String yaml = "openapi: 3.1.0\n" +
                "paths:\n" +
                "  /tag/tag:\n" +
                "    get:\n" +
                "      operationId: getTag\n" +
                "      responses:\n" +
                "        default:\n" +
                "          description: default response\n" +
                "          content:\n" +
                "            '*/*':\n" +
                "              schema:\n" +
                "                $ref: '#/components/schemas/SimpleTag'\n" +
                "components:\n" +
                "  schemas:\n" +
                "    Foo:\n" +
                "      deprecated: true\n" +
                "      description: Foo\n" +
                "      properties:\n" +
                "        foo:\n" +
                "          type: string\n" +
                "          const: foo\n" +
                "        bar:\n" +
                "          type: integer\n" +
                "          format: int32\n" +
                "          exclusiveMaximum: 2\n" +
                "        foobar:\n" +
                "          type:\n" +
                "          - integer\n" +
                "          - string\n" +
                "          - object\n" +
                "          format: int32\n" +
                "    SimpleTag:\n" +
                "      properties:\n" +
                "        annotated:\n" +
                "          $ref: '#/components/schemas/SimpleCategory'\n" +
                "          description: child description\n" +
                "          properties:\n" +
                "            foo:\n" +
                "              $ref: '#/components/schemas/Foo'\n" +
                "    SimpleCategory: {}\n";
        SerializationMatchers.assertEqualsToYaml31(openAPI, yaml);
    }