Comments (5)
I think we're missing documentation for this annotation. Also it would be better to just support recursive structures. We'll take a look in the near future.
from spring-auto-restdocs.
Did a bit more digging and this is most likely a recursion bug. Looking through the stack it looks like one object is nested in another which is nested within the original object.
`public class Tender{
List otherTenders;
}
public class OtherTender{
List Tenders;
}`
From a business standpoint this makes sense though it is not the best idea code wise. Im going to try and use @RestDocsNotExpanded to see if this fixes this. I think maybe it still needs to be addressed as this is quite confusing to debug. If nothing else a more specific error to pinpoint the problem.
Ideally it would be handled similar to what spring data jpa does and just breaks the links when a recursion is detected.
from spring-auto-restdocs.
Thanks for digging into it more, it's hard for us to debug without access to the code. @ResdocsNotExpanded
should indeed fix errors with recursive data structures.
from spring-auto-restdocs.
I had similar problem and @RestdocsNotExpanded solved it.
from spring-auto-restdocs.
from spring-auto-restdocs.
Related Issues (20)
- Enum constraint message is not appended to description field when wrapped in an Array HOT 10
- ArrayLimitingJsonContentModifier does not limit array
- Documenting RequestParam DTOs HOT 20
- Wrong type for Instant[] HOT 1
- Append description for Instant types
- Support Java 14 Records HOT 7
- Documentation extracting Doclet does not recognize overloaded methods.
- Does it make sense to extract the Javadoc extracting Doclet into a separate project? HOT 2
- Supports for Spring Webflux Functional Endpoint HOT 1
- Missing releases after 2.0.5 on maven central HOT 1
- ModelAttribute does not resolve fields without @JsonProperty HOT 3
- Gradle 7/Kotlin 1.5 support HOT 6
- Comment with only tag are wrong with spring-auto-restdocs-json-doclet-jdk9
- RequestParam with complex data structure is not flattened HOT 2
- 0
- Request Field comments are not coming the generated request field adoc files. HOT 1
- Latest JDK Support (Java 17 and above ) for the issue [WARNING] javadoc: warning - The old Doclet and Taglet APIs in the packages
- Please support jpms HOT 2
- NoClassDefFoundError when running with 3.5.0 maven-doc-plugin
- Spring Boot 3.x and Jakarta Validation API - RequestBody fields annotated with @NotNull are Optional true in generated documentation HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-auto-restdocs.