Search code examples
spring-restdocs

spring-restdocs How to remove the table name from the path parameters


I am documenting the path parameters for my api. But it displays some auto generated table name. I am trying to remove the table name from the path parameter . I didn't succeed.

Please help me out.

Sample Image


Solution

  • If you want to remove only "Table 2" part of table caption, you can try to add caption block with empty title. For example:

    [caption=]
    ./v1/residences/{id}
    include::{snippets}/index/request-parameters.adoc[]