public OpenAPI read(Class<?> cls) {
        return read(cls, resolveApplicationPath(), null, false, null, null, new LinkedHashSet<String>(), new ArrayList<Parameter>(), new HashSet<Class<?>>());
    }
@Test(description = "response generic subclass")
    public void testTicket3082() {
        Reader reader = new Reader(new OpenAPI());
        OpenAPI openAPI = reader.read(ProcessTokenRestService.class);

        String yaml = "openapi: 3.0.1\n" +
                "paths:\n" +
                "  /token:\n" +
                "    post:\n" +
                "      operationId: create\n" +
                "      requestBody:\n" +
                "        content:\n" +
                "          application/json:\n" +
                "            schema:\n" +
                "              $ref: '#/components/schemas/ProcessTokenDTO'\n" +
                "      responses:\n" +
                "        default:\n" +
                "          description: default response\n" +
                "          content:\n" +
                "            application/json:\n" +
                "              schema:\n" +
                "                $ref: '#/components/schemas/ProcessTokenDTO'\n" +
                "components:\n" +
                "  schemas:\n" +
                "    ProcessTokenDTO:\n" +
                "      type: object\n" +
                "      properties:\n" +
                "        guid:\n" +
                "          type: string\n";
        SerializationMatchers.assertEqualsToYaml(openAPI, yaml);
    }