Skip to content

Commit 7dfc405

Browse files
committed
add getter method javadoc description for other test cases
1 parent d4a6d76 commit 7dfc405

File tree

4 files changed

+16
-7
lines changed

4 files changed

+16
-7
lines changed

springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/app104.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@
7272
"components": {
7373
"schemas": {
7474
"Design": {
75-
"type": "object"
75+
"type": "object",
76+
"description": "The type Design."
7677
}
7778
}
7879
}

springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/app114.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@
7373
"type": "string",
7474
"example": "USD"
7575
}
76-
}
76+
},
77+
"description": ""
7778
}
7879
}
7980
}

springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/app126.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,27 +56,33 @@
5656
"properties": {
5757
"instance": {
5858
"type": "string",
59-
"format": "uri"
59+
"format": "uri",
60+
"description": "An absolute URI that identifies the specific occurrence of the problem.\n It may or may not yield further information if dereferenced."
6061
},
6162
"type": {
6263
"type": "string",
64+
"description": "An absolute URI that identifies the problem type. When dereferenced,\n it SHOULD provide human-readable documentation for the problem type\n (e.g., using HTML). When this member is not present, its value is\n assumed to be \"about:blank\".",
6365
"format": "uri"
6466
},
6567
"parameters": {
6668
"type": "object",
6769
"additionalProperties": {
6870
"type": "object"
69-
}
71+
},
72+
"description": "Optional, additional attributes of the problem. Implementations can choose to ignore this in favor of concrete,\n typed fields."
7073
},
7174
"title": {
72-
"type": "string"
75+
"type": "string",
76+
"description": "A short, human-readable summary of the problem type. It SHOULD NOT\n change from occurrence to occurrence of the problem, except for\n purposes of localisation."
7377
},
7478
"status": {
7579
"type": "integer",
80+
"description": "The HTTP status code generated by the origin server for this\n occurrence of the problem.",
7681
"format": "int32"
7782
},
7883
"detail": {
79-
"type": "string"
84+
"type": "string",
85+
"description": "A human readable explanation specific to this occurrence of the problem."
8086
}
8187
},
8288
"description": "The interface Problem."

springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/app87.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
"components": {
7575
"schemas": {
7676
"Item": {
77-
"type": "object"
77+
"type": "object",
78+
"description": "The type Item."
7879
}
7980
}
8081
}

0 commit comments

Comments
 (0)