def operations
      validate_operations
      @operations ||= @raw_operations.map do |operation, properties|
        Operation.new(verb: operation, properties: properties, path: self)
      end
    end
def operations
      validate_operations
      @operations ||= @raw_operations.map do |operation, properties|
        Operation.new(verb: operation, properties: properties, path: self)
      end
    end
Creates a new Path.
 @param path [String] path i.e. `'/store/inventory'`
 @param operations [Hash] path operations
 Path operations
 @return [Array<Operation>] list of operations for the path