spring-auto-restdocs

    1热度

    1回答

    我正在使用Spring自动REST文档是Spring REST Docs的扩展来生成API文档,并且正如文档中所做的那样设置MockMvc。 而且,同一时间,我想用“http://cloud.spring.io/spring-cloud-contract/1.0.x/#_generating_stubs_using_restdocs” 我下面这个例子生成WireMock存根:https://git

    0热度

    2回答

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