diff --git a/pom.xml b/pom.xml
index 1b628c2fc1..07f2edf242 100644
--- a/pom.xml
+++ b/pom.xml
@@ -55,7 +55,7 @@
0.7.0
1.5.0
- 2.2.41
+ 2.2.42
5.31.0
1.13.1
0.9.1
diff --git a/springdoc-openapi-starter-webflux-api/src/test/resources/results/3.0.1/app102.json b/springdoc-openapi-starter-webflux-api/src/test/resources/results/3.0.1/app102.json
index d7479b41b8..e77bbf251d 100644
--- a/springdoc-openapi-starter-webflux-api/src/test/resources/results/3.0.1/app102.json
+++ b/springdoc-openapi-starter-webflux-api/src/test/resources/results/3.0.1/app102.json
@@ -32,6 +32,7 @@
"description": "parameter from child of RequestParams",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
},
diff --git a/springdoc-openapi-starter-webflux-api/src/test/resources/results/3.1.0/app102.json b/springdoc-openapi-starter-webflux-api/src/test/resources/results/3.1.0/app102.json
index f43ac61336..2a6c70e576 100644
--- a/springdoc-openapi-starter-webflux-api/src/test/resources/results/3.1.0/app102.json
+++ b/springdoc-openapi-starter-webflux-api/src/test/resources/results/3.1.0/app102.json
@@ -32,7 +32,8 @@
"description": "parameter from child of RequestParams",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
},
{
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app102.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app102.json
index 0f17e72f0a..1981b04bf8 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app102.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app102.json
@@ -32,6 +32,7 @@
"description": "parameter from child of RequestParams",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
},
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app105-4.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app105-4.json
index 76d34675f1..9fe3e74aea 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app105-4.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app105-4.json
@@ -35,6 +35,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app121.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app121.json
index 0520da018d..2390ac67c4 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app121.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app121.json
@@ -32,6 +32,7 @@
"description": "parameter from child of RequestParams",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
},
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app14.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app14.json
index 9bd24ef37d..235e0fe829 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app14.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app14.json
@@ -50,6 +50,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-en-GB.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-en-GB.json
index 90ea79632f..978d6dd120 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-en-GB.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-en-GB.json
@@ -49,6 +49,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-en-US.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-en-US.json
index d65b8eca26..7e6decf59c 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-en-US.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-en-US.json
@@ -49,6 +49,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-fr-FR.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-fr-FR.json
index d10b56632e..4c7e59f548 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-fr-FR.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app171-fr-FR.json
@@ -49,6 +49,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app18.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app18.json
index c1c84699ab..66a05b228a 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app18.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app18.json
@@ -23,6 +23,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
@@ -54,6 +55,7 @@
"description": "persons name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
@@ -149,6 +151,7 @@
"description": "persons name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
@@ -180,6 +183,7 @@
"description": "persons name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app19.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app19.json
index 5de6c880aa..5cbef60a54 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app19.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app19.json
@@ -52,6 +52,7 @@
"content": {
"application/json": {
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app209.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app209.json
index c1c84699ab..b93993fbff 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app209.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app209.json
@@ -23,6 +23,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
@@ -54,6 +55,7 @@
"description": "persons name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
@@ -149,6 +151,7 @@
"description": "persons name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
@@ -180,6 +183,7 @@
"description": "persons name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
@@ -201,3 +205,4 @@
},
"components": {}
}
+
\ No newline at end of file
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app21.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app21.json
index 2d53bffbf1..db5cde3abb 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app21.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app21.json
@@ -24,6 +24,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app23.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app23.json
index 22902fadc9..4cb10bb742 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app23.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app23.json
@@ -24,6 +24,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-en-US.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-en-US.json
index d65b8eca26..7e6decf59c 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-en-US.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-en-US.json
@@ -49,6 +49,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-fr-CA.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-fr-CA.json
index d10b56632e..4c7e59f548 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-fr-CA.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-fr-CA.json
@@ -49,6 +49,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-zh-CN.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-zh-CN.json
index d65b8eca26..7e6decf59c 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-zh-CN.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app238-zh-CN.json
@@ -49,6 +49,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app24.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app24.json
index 885b7d4573..181e3bf011 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app24.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.0.1/app24.json
@@ -30,6 +30,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app102.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app102.json
index 35eeb5ea9f..ed29774ae7 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app102.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app102.json
@@ -32,7 +32,8 @@
"description": "parameter from child of RequestParams",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
},
{
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app105-4.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app105-4.json
index f393a51547..ccf0baf41f 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app105-4.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app105-4.json
@@ -35,7 +35,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app121.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app121.json
index 3a9f3652b7..c184ff2da0 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app121.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app121.json
@@ -32,7 +32,8 @@
"description": "parameter from child of RequestParams",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
},
{
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app14.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app14.json
index e2bb2165df..141b2f485c 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app14.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app14.json
@@ -50,7 +50,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-en-GB.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-en-GB.json
index 1475f7c03b..3c110703e4 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-en-GB.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-en-GB.json
@@ -49,7 +49,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-en-US.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-en-US.json
index e326399502..e36a4f0f63 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-en-US.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-en-US.json
@@ -49,7 +49,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-fr-FR.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-fr-FR.json
index 4b4c1bfb09..ffc7ce523e 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-fr-FR.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app171-fr-FR.json
@@ -49,7 +49,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app18.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app18.json
index 0142d8173e..8cb518c8f1 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app18.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app18.json
@@ -23,7 +23,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
@@ -54,7 +55,8 @@
"description": "persons name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
@@ -149,7 +151,8 @@
"description": "persons name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
@@ -180,7 +183,8 @@
"description": "persons name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app19.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app19.json
index b27e184d4f..3114a411bc 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app19.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app19.json
@@ -52,7 +52,8 @@
"content": {
"application/json": {
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
},
@@ -104,4 +105,4 @@
}
},
"components": {}
-}
+}
\ No newline at end of file
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app209.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app209.json
index 0142d8173e..8cb518c8f1 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app209.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app209.json
@@ -23,7 +23,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
@@ -54,7 +55,8 @@
"description": "persons name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
@@ -149,7 +151,8 @@
"description": "persons name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
@@ -180,7 +183,8 @@
"description": "persons name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app21.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app21.json
index 136b34d947..75fb1e6176 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app21.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app21.json
@@ -24,7 +24,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app23.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app23.json
index 25d752698a..7f16dc76ee 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app23.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app23.json
@@ -24,7 +24,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-en-US.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-en-US.json
index e326399502..e36a4f0f63 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-en-US.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-en-US.json
@@ -49,7 +49,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-fr-CA.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-fr-CA.json
index 37e48614e1..222aa15481 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-fr-CA.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-fr-CA.json
@@ -49,7 +49,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-zh-CN.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-zh-CN.json
index e326399502..e36a4f0f63 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-zh-CN.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app238-zh-CN.json
@@ -49,7 +49,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app24.json b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app24.json
index fd8082586a..5ca1729ba7 100644
--- a/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app24.json
+++ b/springdoc-openapi-starter-webmvc-api/src/test/resources/results/3.1.0/app24.json
@@ -30,7 +30,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-tests/springdoc-openapi-actuator-webmvc-tests/src/test/resources/results/3.0.1/app68-4.json b/springdoc-openapi-tests/springdoc-openapi-actuator-webmvc-tests/src/test/resources/results/3.0.1/app68-4.json
index 76d34675f1..9fe3e74aea 100644
--- a/springdoc-openapi-tests/springdoc-openapi-actuator-webmvc-tests/src/test/resources/results/3.0.1/app68-4.json
+++ b/springdoc-openapi-tests/springdoc-openapi-actuator-webmvc-tests/src/test/resources/results/3.0.1/app68-4.json
@@ -35,6 +35,7 @@
"in": "query",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-tests/springdoc-openapi-actuator-webmvc-tests/src/test/resources/results/3.1.0/app68-4.json b/springdoc-openapi-tests/springdoc-openapi-actuator-webmvc-tests/src/test/resources/results/3.1.0/app68-4.json
index f393a51547..ccf0baf41f 100644
--- a/springdoc-openapi-tests/springdoc-openapi-actuator-webmvc-tests/src/test/resources/results/3.1.0/app68-4.json
+++ b/springdoc-openapi-tests/springdoc-openapi-actuator-webmvc-tests/src/test/resources/results/3.1.0/app68-4.json
@@ -35,7 +35,8 @@
"in": "query",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-tests/springdoc-openapi-data-rest-tests/src/test/resources/results/3.0.1/app18.json b/springdoc-openapi-tests/springdoc-openapi-data-rest-tests/src/test/resources/results/3.0.1/app18.json
index 54719949c7..d46aa228b7 100644
--- a/springdoc-openapi-tests/springdoc-openapi-data-rest-tests/src/test/resources/results/3.0.1/app18.json
+++ b/springdoc-openapi-tests/springdoc-openapi-data-rest-tests/src/test/resources/results/3.0.1/app18.json
@@ -25,6 +25,7 @@
"description": "Description for abc",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
},
"example": "def"
@@ -69,6 +70,7 @@
"description": "Description for abc",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
},
"example": "def"
diff --git a/springdoc-openapi-tests/springdoc-openapi-data-rest-tests/src/test/resources/results/3.1.0/app18.json b/springdoc-openapi-tests/springdoc-openapi-data-rest-tests/src/test/resources/results/3.1.0/app18.json
index e730d5a606..073f17c404 100644
--- a/springdoc-openapi-tests/springdoc-openapi-data-rest-tests/src/test/resources/results/3.1.0/app18.json
+++ b/springdoc-openapi-tests/springdoc-openapi-data-rest-tests/src/test/resources/results/3.1.0/app18.json
@@ -25,7 +25,8 @@
"description": "Description for abc",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
},
"example": "def"
},
@@ -69,7 +70,8 @@
"description": "Description for abc",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
},
"example": "def"
},
diff --git a/springdoc-openapi-tests/springdoc-openapi-groovy-tests/src/test/groovy/test/org/springdoc/api/v30/app2/CarController.groovy b/springdoc-openapi-tests/springdoc-openapi-groovy-tests/src/test/groovy/test/org/springdoc/api/v30/app2/CarController.groovy
index b914db9412..1482ba0d56 100644
--- a/springdoc-openapi-tests/springdoc-openapi-groovy-tests/src/test/groovy/test/org/springdoc/api/v30/app2/CarController.groovy
+++ b/springdoc-openapi-tests/springdoc-openapi-groovy-tests/src/test/groovy/test/org/springdoc/api/v30/app2/CarController.groovy
@@ -42,7 +42,7 @@ class CarController {
}
@GetMapping(path = '/cars')
- List getCars(@ParameterObject CarsFilter filter) {
+ List getCars(@ParameterObject CarsFilter filter) {
return carService.getCars()
}
diff --git a/springdoc-openapi-tests/springdoc-openapi-groovy-tests/src/test/groovy/test/org/springdoc/api/v31/app2/CarController.groovy b/springdoc-openapi-tests/springdoc-openapi-groovy-tests/src/test/groovy/test/org/springdoc/api/v31/app2/CarController.groovy
index ebca3279bd..3dbc5257c0 100644
--- a/springdoc-openapi-tests/springdoc-openapi-groovy-tests/src/test/groovy/test/org/springdoc/api/v31/app2/CarController.groovy
+++ b/springdoc-openapi-tests/springdoc-openapi-groovy-tests/src/test/groovy/test/org/springdoc/api/v31/app2/CarController.groovy
@@ -35,14 +35,14 @@ import org.springframework.web.bind.annotation.RestController
@RestController
class CarController {
- test.org.springdoc.api.v31.app2.CarService carService
+ CarService carService
- CarController(test.org.springdoc.api.v31.app2.CarService carService) {
+ CarController(CarService carService) {
this.carService = carService
}
@GetMapping(path = '/cars')
- List getCars(@ParameterObject CarsFilter filter) {
+ List getCars(@ParameterObject CarsFilter filter) {
return carService.getCars()
}
@@ -51,7 +51,7 @@ class CarController {
}
@GetMapping(path = 'cars/{carId}')
- test.org.springdoc.api.v31.app2.Car getCar(@PathVariable(value = 'carId') Long carId) {
+ Car getCar(@PathVariable(value = 'carId') Long carId) {
return carService.getCar(carId)
}
}
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app102.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app102.json
index 83c8687eaf..c308be4cbf 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app102.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app102.json
@@ -41,6 +41,7 @@
"description": "parameter from child of RequestParams",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
},
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app105-4.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app105-4.json
index e249a3bf6d..9b586f2bb9 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app105-4.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app105-4.json
@@ -38,6 +38,7 @@
"description": "the name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app121.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app121.json
index 2d95f9194d..5f11af1f53 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app121.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app121.json
@@ -41,6 +41,7 @@
"description": "parameter from child of RequestParams",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
},
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app14.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app14.json
index 461f084a71..433ad8c2c6 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app14.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app14.json
@@ -54,6 +54,7 @@
"description": "the name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app18.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app18.json
index 949fa4cc45..43ff91eb1b 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app18.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app18.json
@@ -32,6 +32,7 @@
"description": "the name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
@@ -50,22 +51,25 @@
}
}
},
- "/persons2": {
+ "/persons7": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 2 string.",
- "description": "Persons 2 string.",
- "operationId": "persons2",
+ "summary": "Persons 7 string.",
+ "description": "Persons 7 string.",
+ "operationId": "persons7",
"parameters": [
{
- "name": "name",
+ "name": "age",
"in": "query",
- "description": "persons name",
+ "description": "the age",
"required": true,
"schema": {
- "type": "string"
+ "minimum": 0,
+ "exclusiveMinimum": true,
+ "type": "integer",
+ "format": "int32"
}
}
],
@@ -83,14 +87,14 @@
}
}
},
- "/persons3": {
+ "/persons6": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 3 string.",
- "description": "Persons 3 string.",
- "operationId": "persons3",
+ "summary": "Persons 6 string.",
+ "description": "Persons 6 string.",
+ "operationId": "persons6",
"parameters": [
{
"name": "name",
@@ -98,6 +102,7 @@
"description": "persons name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
@@ -116,14 +121,14 @@
}
}
},
- "/persons4": {
+ "/persons5": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 4 string.",
- "description": "Persons 4 string.",
- "operationId": "persons4",
+ "summary": "Persons 5 string.",
+ "description": "Persons 5 string.",
+ "operationId": "persons5",
"parameters": [
{
"name": "age",
@@ -131,7 +136,7 @@
"description": "the age",
"required": true,
"schema": {
- "minimum": 0,
+ "maximum": 0,
"type": "integer",
"format": "int32"
}
@@ -151,14 +156,14 @@
}
}
},
- "/persons5": {
+ "/persons4": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 5 string.",
- "description": "Persons 5 string.",
- "operationId": "persons5",
+ "summary": "Persons 4 string.",
+ "description": "Persons 4 string.",
+ "operationId": "persons4",
"parameters": [
{
"name": "age",
@@ -166,7 +171,7 @@
"description": "the age",
"required": true,
"schema": {
- "maximum": 0,
+ "minimum": 0,
"type": "integer",
"format": "int32"
}
@@ -186,14 +191,14 @@
}
}
},
- "/persons6": {
+ "/persons3": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 6 string.",
- "description": "Persons 6 string.",
- "operationId": "persons6",
+ "summary": "Persons 3 string.",
+ "description": "Persons 3 string.",
+ "operationId": "persons3",
"parameters": [
{
"name": "name",
@@ -201,6 +206,7 @@
"description": "persons name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
@@ -219,25 +225,23 @@
}
}
},
- "/persons7": {
+ "/persons2": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 7 string.",
- "description": "Persons 7 string.",
- "operationId": "persons7",
+ "summary": "Persons 2 string.",
+ "description": "Persons 2 string.",
+ "operationId": "persons2",
"parameters": [
{
- "name": "age",
+ "name": "name",
"in": "query",
- "description": "the age",
+ "description": "persons name",
"required": true,
"schema": {
- "minimum": 0,
- "exclusiveMinimum": true,
- "type": "integer",
- "format": "int32"
+ "minLength": 1,
+ "type": "string"
}
}
],
@@ -257,4 +261,4 @@
}
},
"components": {}
-}
+}
\ No newline at end of file
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app19.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app19.json
index 5b0a90b8b7..dd2dc29cde 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app19.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app19.json
@@ -94,6 +94,7 @@
"content": {
"application/json": {
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app21.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app21.json
index dffb377e5f..2a345c7985 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app21.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app21.json
@@ -26,6 +26,7 @@
"description": "the name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app23.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app23.json
index 1637d7918a..5da3d64e89 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app23.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app23.json
@@ -32,6 +32,7 @@
"description": "the name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app24.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app24.json
index 7595a7bd82..aa71958555 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app24.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.0.1/app24.json
@@ -38,6 +38,7 @@
"description": "the name",
"required": true,
"schema": {
+ "minLength": 1,
"type": "string"
}
}
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app102.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app102.json
index 32abd9ef41..debffb3edb 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app102.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app102.json
@@ -41,7 +41,8 @@
"description": "parameter from child of RequestParams",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
},
{
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app105-4.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app105-4.json
index deb8b48689..437cc19b90 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app105-4.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app105-4.json
@@ -38,7 +38,8 @@
"description": "the name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app121.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app121.json
index be1267d354..7a4d7346b6 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app121.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app121.json
@@ -41,7 +41,8 @@
"description": "parameter from child of RequestParams",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
},
{
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app14.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app14.json
index ff15a730d4..1c0c724dd7 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app14.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app14.json
@@ -32,7 +32,8 @@
"description": "the name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app18.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app18.json
index a6b3550910..414562e3af 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app18.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app18.json
@@ -32,7 +32,8 @@
"description": "the name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
@@ -50,22 +51,24 @@
}
}
},
- "/persons2": {
+ "/persons7": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 2 string.",
- "description": "Persons 2 string.",
- "operationId": "persons2",
+ "summary": "Persons 7 string.",
+ "description": "Persons 7 string.",
+ "operationId": "persons7",
"parameters": [
{
- "name": "name",
+ "name": "age",
"in": "query",
- "description": "persons name",
+ "description": "the age",
"required": true,
"schema": {
- "type": "string"
+ "type": "integer",
+ "format": "int32",
+ "exclusiveMinimum": 0
}
}
],
@@ -83,14 +86,14 @@
}
}
},
- "/persons3": {
+ "/persons6": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 3 string.",
- "description": "Persons 3 string.",
- "operationId": "persons3",
+ "summary": "Persons 6 string.",
+ "description": "Persons 6 string.",
+ "operationId": "persons6",
"parameters": [
{
"name": "name",
@@ -98,7 +101,8 @@
"description": "persons name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
@@ -116,14 +120,14 @@
}
}
},
- "/persons4": {
+ "/persons5": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 4 string.",
- "description": "Persons 4 string.",
- "operationId": "persons4",
+ "summary": "Persons 5 string.",
+ "description": "Persons 5 string.",
+ "operationId": "persons5",
"parameters": [
{
"name": "age",
@@ -133,7 +137,7 @@
"schema": {
"type": "integer",
"format": "int32",
- "minimum": 0
+ "maximum": 0
}
}
],
@@ -151,14 +155,14 @@
}
}
},
- "/persons5": {
+ "/persons4": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 5 string.",
- "description": "Persons 5 string.",
- "operationId": "persons5",
+ "summary": "Persons 4 string.",
+ "description": "Persons 4 string.",
+ "operationId": "persons4",
"parameters": [
{
"name": "age",
@@ -168,7 +172,7 @@
"schema": {
"type": "integer",
"format": "int32",
- "maximum": 0
+ "minimum": 0
}
}
],
@@ -186,14 +190,14 @@
}
}
},
- "/persons6": {
+ "/persons3": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 6 string.",
- "description": "Persons 6 string.",
- "operationId": "persons6",
+ "summary": "Persons 3 string.",
+ "description": "Persons 3 string.",
+ "operationId": "persons3",
"parameters": [
{
"name": "name",
@@ -201,7 +205,8 @@
"description": "persons name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
@@ -219,24 +224,23 @@
}
}
},
- "/persons7": {
+ "/persons2": {
"get": {
"tags": [
"hello-controller"
],
- "summary": "Persons 7 string.",
- "description": "Persons 7 string.",
- "operationId": "persons7",
+ "summary": "Persons 2 string.",
+ "description": "Persons 2 string.",
+ "operationId": "persons2",
"parameters": [
{
- "name": "age",
+ "name": "name",
"in": "query",
- "description": "the age",
+ "description": "persons name",
"required": true,
"schema": {
- "type": "integer",
- "format": "int32",
- "exclusiveMinimum": 0
+ "type": "string",
+ "minLength": 1
}
}
],
@@ -256,4 +260,4 @@
}
},
"components": {}
-}
+}
\ No newline at end of file
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app19.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app19.json
index 0b389b4668..05f18e453e 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app19.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app19.json
@@ -94,7 +94,8 @@
"content": {
"application/json": {
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
},
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app21.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app21.json
index 5b4a77699a..b38e15f4bd 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app21.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app21.json
@@ -26,7 +26,8 @@
"description": "the name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app23.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app23.json
index 503b37f1ad..bbe23f4d1c 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app23.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app23.json
@@ -32,7 +32,8 @@
"description": "the name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],
diff --git a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app24.json b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app24.json
index fba939cb28..7a11db8b8a 100644
--- a/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app24.json
+++ b/springdoc-openapi-tests/springdoc-openapi-javadoc-tests/src/test/resources/results/3.1.0/app24.json
@@ -38,7 +38,8 @@
"description": "the name",
"required": true,
"schema": {
- "type": "string"
+ "type": "string",
+ "minLength": 1
}
}
],