-
-
Notifications
You must be signed in to change notification settings - Fork 545
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
- If you provide comments via KDoc (or even via the @field:Parameter(description="") workaround) for fields in a typed data class, they are not picked up in the generated documents
- If you use the same data class without the Type parameters, the comments are picked up as expected
To Reproduce
Steps to reproduce the behavior:
What version of spring-boot you are using? 2.5.5
What modules and versions of springdoc-openapi are you using? 1.5.12
- What is the actual and the expected result using OpenAPI Description (yml or json)? Expect comments to be picked up, actual is no comments are provided.
- Provide with a sample code (HelloController) or Test that reproduces the problem: See attached zip. Run with
./gradlew bootRun
and see the behavior when examining the "schema" of the responses.
Expected behavior
- A clear and concise description of what you expected to happen. Fields in both typed and untyped data classes should have their comments picked up.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working