diff --git a/pom.xml b/pom.xml
index 850a92153eb823da8076898ec0f31ac99156ce28..5cd37ebe14fc8c20d69056ef369327f4e1c20e5c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -27,7 +27,7 @@
 
         <!-- Maven plugins -->
         <jacoco.version>0.8.11</jacoco.version>
-        <openapi-generator-maven-plugin.version>6.3.0</openapi-generator-maven-plugin.version>
+        <openapi-generator-maven-plugin.version>7.8.0</openapi-generator-maven-plugin.version>
         <build-helper-maven-plugin.version>3.2.0</build-helper-maven-plugin.version>
 
         <!-- Docker -->
diff --git a/src/main/resources/openapi.yml b/src/main/resources/openapi.yml
index 704df3dda71bdedddee95490c4273973d5ec54be..7edeb2cb12a2962a3851d358f7b82a7277131f22 100755
--- a/src/main/resources/openapi.yml
+++ b/src/main/resources/openapi.yml
@@ -1888,7 +1888,7 @@ components:
           title: Message
           description: The validation message.
           type: string
-          example: "[Path '/lastName'] Instance type (null) does not match any allowed primitive type (allowed: [\"string\"])"
+          example: "[Path '/lastName'] Instance type (null) does not match any allowed primitive type (allowed: ['string'])"
           readOnly: true
       required:
         - message