           #     pawRequest.multipartBody = bodyObject
           # 
           
-          break # Should have only one key
-        
         return pawRequest
     
+    @createPawGroup = (context, swaggerCollection, swaggerRequestPathName, swaggerRequestPathValue) ->
+
+        # Create Paw group
+        pawGroup = context.createRequestGroup swaggerRequestPathName
+
+        for own swaggerRequestMethod, swaggerRequestValue of swaggerRequestPathValue
+              
+            # Create a Paw request
+            pawRequest = @createPawRequest context, swaggerCollection, swaggerRequestPathName, swaggerRequestMethod, swaggerRequestValue
+    
+            # Add request to root group
+            pawGroup.appendChild pawRequest
+
+        return pawGroup
+        
     @importString = (context, string) ->
     
         # Parse JSON collection

          throw new Error "Invalid Swagger file (not a valid JSON)"
          
        if swaggerCollection
          # Create a PawGroup
          pawRootGroup = context.createRequestGroup swaggerCollection.info.title
      
          # Add Swagger requests in root
          if pawRootGroup
            
              for own path, request of swaggerCollection.paths
                    
                  # Create a Paw request
                  pawRequest = @createPawRequest context, swaggerCollection, path, request
          
                  # Add request to root group
                  pawRootGroup.appendChild pawRequest
      
          return true
    

SwaggerImporter = ->

    # Create Paw requests from a Postman Request (object)
    @createPawRequest = (context, swaggerCollection, swaggerRequestPath, swaggerRequestMethod, swaggerRequestValue) ->

        if swaggerRequestValue.summary
          swaggerRequestTitle = swaggerRequestValue.summary
        else
          swaggerRequestTitle = swaggerRequestPath
          
        swaggerRequestUrl = swaggerCollection.schemes[0] + '://' + swaggerCollection.host + swaggerCollection.basePath + swaggerRequestPath
        swaggerRequestMethod = swaggerRequestMethod.toUpperCase()
          
        # Create Paw request
        pawRequest = context.createRequest swaggerRequestTitle, swaggerRequestMethod, swaggerRequestUrl
        
        for index, swaggerRequestParamValue of swaggerRequestValue.parameters
          
          # Add Headers
          if swaggerRequestParamValue.in == 'header'
            pawRequest.setHeader swaggerRequestParamValue.name, "value"
          
          # # Set raw body
          # if postmanRequest["dataMode"] == "raw"
          #     contentType = pawRequest.getHeaderByName "Content-Type"
