def make_resource
      resource = Module.new
      paths.each do |path|
        new_module = PathBuilder.build(path: path, module_constant: resource)
        path.operations.each do |operation|
          OperationBuilder.build(operation: operation,
                                 module_constant: new_module,
                                 configuration: configuration)
        end
      end
      Service.const_set(module_name, resource)
    end
def make_resource
      resource = Module.new
      paths.each do |path|
        new_module = PathBuilder.build(path: path, module_constant: resource)
        path.operations.each do |operation|
          OperationBuilder.build(operation: operation,
                                 module_constant: new_module,
                                 configuration: configuration)
        end
      end
      Service.const_set(module_name, resource)
    end
Creates a new SwaggerBuilder
 @param raw_hash [Hash] Swagger API definition
 @param module_name [String] name of the constant you want built
 @param options [Hash] Swagger API options. It will be used to build the
   [Configuration]. Supports the `:host` value for now.
 Dynamically creates a new resource on top of `Svelte::Service` with the
 name `module_name`, based on the Swagger API description provided
 in `raw_hash`
 @return [Module] the module built