Lost deprecated attribute after updating to 2.8.16 (original) (raw)

Describe the bug

public record AdjustmentReportRow(
...
@java.lang.Deprecated @NotNull String productLengthName) {}

diff --git a/web/sdk/openapi.json b/web/sdk/openapi.json index 0a1a252003..2465478b97 100644 --- a/web/sdk/openapi.json +++ b/web/sdk/openapi.json @@ -193,7 +193,6 @@ "$ref": "#/components/schemas/ProductLink" }, "productLengthName": {


**To Reproduce**  
Steps to reproduce the behavior:

* What version of spring-boot you are using? 3.5.12
* What modules and versions of springdoc-openapi are you using? 2.8.16, no modules that I know of, but I'm not sure what a module is in springdoc.
* What is the actual and the expected result using OpenAPI Description (yml or json)?

Actual:
         "$ref": "#/components/schemas/ProductLink"
       },
       "productLengthName": {

Expected: no changes:
         "$ref": "#/components/schemas/ProductLink"
       },
       "productLengthName": {
         "deprecated": true,
         "type": "string"
       },
       "tag": {

```

Expected behavior