Skip to content

Commit 135f292

Browse files
committed
Typo in Pageable sort description. Fixes #1586.
1 parent d58387f commit 135f292

File tree

20 files changed

+28
-28
lines changed

20 files changed

+28
-28
lines changed

springdoc-openapi-common/src/main/java/org/springdoc/core/converters/models/PageableAsQueryParam.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
, name = "size"
4646
, schema = @Schema(type = "integer", defaultValue = "20"))
4747
@Parameter(in = ParameterIn.QUERY
48-
, description = "Sorting criteria in the format: property(,asc|desc). "
48+
, description = "Sorting criteria in the format: property,(asc|desc). "
4949
+ "Default sort order is ascending. " + "Multiple sort criteria are supported."
5050
, name = "sort"
5151
, array = @ArraySchema(schema = @Schema(type = "string")))

springdoc-openapi-data-rest/src/test/resources/results/app10.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@
579579
{
580580
"name": "sort",
581581
"in": "query",
582-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
582+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
583583
"required": false,
584584
"schema": {
585585
"type": "array",

springdoc-openapi-data-rest/src/test/resources/results/app11.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{
4545
"name": "sort",
4646
"in": "query",
47-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
47+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
4848
"required": false,
4949
"schema": {
5050
"type": "array",

springdoc-openapi-data-rest/src/test/resources/results/app13.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
{
4444
"name": "sort",
4545
"in": "query",
46-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
46+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
4747
"required": false,
4848
"schema": {
4949
"type": "array",
@@ -99,7 +99,7 @@
9999
{
100100
"name": "sort",
101101
"in": "query",
102-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
102+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
103103
"required": false,
104104
"schema": {
105105
"type": "array",
@@ -158,7 +158,7 @@
158158
{
159159
"name": "sort",
160160
"in": "query",
161-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
161+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
162162
"required": false,
163163
"schema": {
164164
"type": "array",
@@ -218,7 +218,7 @@
218218
{
219219
"name": "sort",
220220
"in": "query",
221-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
221+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
222222
"required": false,
223223
"schema": {
224224
"type": "array",

springdoc-openapi-data-rest/src/test/resources/results/app14.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
{
4444
"name": "sorts",
4545
"in": "query",
46-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
46+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
4747
"required": false,
4848
"schema": {
4949
"type": "array",

springdoc-openapi-data-rest/src/test/resources/results/app15.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
{
4444
"name": "sort",
4545
"in": "query",
46-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
46+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
4747
"required": false,
4848
"schema": {
4949
"type": "array",

springdoc-openapi-data-rest/src/test/resources/results/app16.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@
678678
{
679679
"name": "sort",
680680
"in": "query",
681-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
681+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
682682
"required": false,
683683
"schema": {
684684
"type": "array",

springdoc-openapi-data-rest/src/test/resources/results/app17.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{
4545
"name": "sort",
4646
"in": "query",
47-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
47+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
4848
"required": false,
4949
"schema": {
5050
"type": "array",
@@ -373,7 +373,7 @@
373373
{
374374
"name": "sort",
375375
"in": "query",
376-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
376+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
377377
"required": false,
378378
"schema": {
379379
"type": "array",

springdoc-openapi-data-rest/src/test/resources/results/app20.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
{
4444
"name": "sort",
4545
"in": "query",
46-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
46+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
4747
"required": false,
4848
"schema": {
4949
"type": "array",

springdoc-openapi-data-rest/src/test/resources/results/app21.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
{
4545
"name": "sort",
4646
"in": "query",
47-
"description": "Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
47+
"description": "Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported.",
4848
"required": false,
4949
"schema": {
5050
"type": "array",

0 commit comments

Comments
 (0)