Questions tagged [spring-auto-restdocs]

Spring Auto REST Docs is an extension of Spring REST Docs. Use this tag for questions that are specific to Spring Auto REST Docs and the tag spring-restdocs to ask general questions about Spring REST Docs.

21 questions
0
votes
1 answer

No description found for classes with custom Jackson ObjectMapper

I am coming across an issue with Spring AutoRest Docs. It seems to stem from this code .alwaysDo(JacksonResultHandlers.prepareJackson(objectMapper)) Full configuration: mockMvc = MockMvcBuilders …
0
votes
0 answers

Not able to link my javadocs with spring auto rest docs

I am not getting how do you use JavaDocs, with Spring Auto Rest Docs. I can generate my java-docs locally by using STS, UI option. However,i am not sure how to generate java-docs using Spring Auto Rest Docs. I tried writing some plugin in POM. But…
0
votes
1 answer

How and Where to use failOnUndocumentedParams in Spring Auto REST Docs?

I am working with Spring Auto REST Docs, and want to know the use of failOnUndocumentedParams, and how to use it. I want that documentation should not be generated if I miss a field from the POJO. I believe using failOnUndocumentedParams is my…
GoPro
  • 642
  • 1
  • 10
  • 24
0
votes
0 answers

Spring RestDocs generating pages for frontend

My spring RestApi Application successfully generates snippets using RestDoc but I'm not able use the snippets to automatically generate pages to run on frontend. http://localhost/docs returns 404 and no html is generated in static/docs/ so far my…
0
votes
1 answer

How to auto generate response fields that do not have POJO

We have a service that simply returns the json document on a GET request. Since we do not have the POJO for the response "model", it appears we won't be able to use the auto response fields generation "goodness". One option for us is to create the…
-1
votes
1 answer

Spring Auto REST Docs - don't work properly

I use Java 8, Spring Boot 2.0, JUnit4. I try to make a proper documentation with Spring Auto REST Docs. Here is my dto: @Data @NoArgsConstructor public class ESLogRequestDTO { /** * Дата начала поиска */ @JsonFormat(shape =…
Nikita Krasnov
  • 57
  • 1
  • 11
1
2