diff --git a/src/main/java/com/networknt/openapi/OpenApiHelper.java b/src/main/java/com/networknt/openapi/OpenApiHelper.java
index <HASH>..<HASH> 100644
--- a/src/main/java/com/networknt/openapi/OpenApiHelper.java
+++ b/src/main/java/com/networknt/openapi/OpenApiHelper.java
@@ -79,6 +79,11 @@ public class OpenApiHelper {
         return INSTANCE;
     }
 
+    public synchronized static OpenApiHelper reset(String spec) {
+        INSTANCE = new OpenApiHelper(spec);
+        return INSTANCE;
+    }
+
     /**
      * merge inject map to openapi map
      * @param openapi {@link Map} openapi
fixes #<I> add a new method to reset the specification for the light-portal (#<I>)