Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
1 answer
116 views

I am trying to generate C# models and client using openapi specification yaml If I have a property of type enum in multipart/form-data as below : requestBody: required: true ...
Score of 0
1 answer
175 views

I'm trying to document inner constraint for Collections (NotBlank and Size) like: @Valid private List<@NotBlank @Size(min = 1, max = 100) String> someAnotherUsefulInformationList; Can I do ...
Score of 0
1 answer
546 views

i have problems with Spring REST Docs and preventing deep-level documentation of fields within a request body: @Transactional @RequestMapping(path = "/edit", method = RequestMethod.POST) ...
Score of 0
0 answers
1371 views

I use spring rest docs to document my api. Now I want to document my document my path in the form of .../accounts/{userId} but I get .../accounts/123 The test part look as follows: mockMvc.perform(...
Score of 0
1 answer
387 views

This is my first question on StackOverflow. I am using Java 11, Spring Boot 2.4.0, JUnit 5, Auto Rest Docs 2.0.9. I am getting the following warning when I am generating the document: asciidoctor: ...
Score of 0
1 answer
331 views

I have a Rest service with two operations /balance and /transactions to get the balance and transactions of a customer. The return type of this operations is BalanceResponse and TransactionResponse ...
Score of 1
2 answers
551 views

I want to customize Section "title" in auto-section.adoc[] file generated by Spring Auto Rest Docs. Spring Auto Rest Docs resolves section title using @title Javadoc tag on the method(if present) or ...
Score of 0
1 answer
531 views

I'm using Spring REST Docs (2.0.3.RELEASE) and Spring Auto Restdocs (2.0.6) to document a REST API. When the request contains a query parameter that has no assigned value (empty string) the snippets ...
Score of 5
1 answer
2951 views

I am trying to setup spring-auto-restdocs in my project, which uses JDK 11, Gradle 5, JUnit5 and Spring Webflux with spring boot 2.1.1. I've followed the normal spring-restdocs setup guide here: ...
Score of 0
1 answer
278 views

I am coming across an issue with Spring AutoRest Docs. It seems to stem from this code .alwaysDo<DefaultMockMvcBuilder>(JacksonResultHandlers.prepareJackson(objectMapper)) Full configuration: ...
Score of 5
2 answers
2903 views

I am new to Spring-Boot. I want to auto generate my REST api documentation into RAML from my Spring MVC controllers. Is there anything to do that? or any guide that I could use it for generating my ...
user avatar
Score of -1
1 answer
1123 views

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 { /** * Дата ...
Score of 3
0 answers
302 views

Currently, when using Spring Auto REST Docs to generate response fields, all objects are flattened out into the response. For example consider these two classes: public class Foo { private Bar ...
Score of 1
1 answer
606 views

Is it possible to use spring-auto-restdocs with Swagger/SpringFox, swagger2markup? I'd like to: - Use Swagger/SpringFox to provide the test area BUT then I want the examples in that UI to be similar ...
Score of 0
0 answers
991 views

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 ...

15 30 50 per page