spring-auto-restdocs

    0热度

    2回答

    是否可以使用注释(在字段级别)为字段提供说明? 我知道我可以使用description方法为 .andDo(document("index", responseFields( fieldWithPath("contact").description("The user's contact details"), ,但我宁愿把那说明连同场的定义,在我的响应对象。 class Inde