class_docstr: Postman Collection (V1 format) serializer
class_docstr_tok: ["Postman","Collection","(","V1","format",")","serializer"]
code: def requests(self):
      if self.swagger:
          # First request is Swagger specifications
          yield Request(
              self,
              "/swagger.json",
              {},
              "get",
              {
                  "operationId": "Swagger specifications",
                  "summary": "The API Swagger specifications as JSON",
              },
          )
      # Then iter over API paths and methods
      for path, operations in iteritems(self.api.__schema__["paths"]):
          path_params = operations.get("parameters", [])
  
          for method, operation in iteritems(operations):
              if method != "parameters":
                  yield Request(
                      self, path, path_params, method, operation
                  )
  
imports: from __future__ import unicode_literals, absolute_import
  from time import time
  from uuid import uuid5, NAMESPACE_URL
  from six import iteritems
  from six.moves.urllib.parse import urlencode
label_desc: Use image node_id 4 for calling the PostmanCollectionV1 obj's underlying member method code with example usage: obj.requests() without return types