code: def test_export_with_swagger(self, app):
      api = restplus.Api(app)
  
      data = api.as_postman(swagger=True)
  
      validate(data, schema)
  
      assert len(data["requests"]) == 1
      request = data["requests"][0]
      assert request["name"] == "Swagger specifications"
      assert (
          request["description"]
          == "The API Swagger specifications as JSON"
      )
      assert request["url"] == "http://localhost/swagger.json"
  
imports: from __future__ import unicode_literals, absolute_import
  import json
  from os.path import join, dirname
  from jsonschema import validate
  from werkzeug.datastructures import FileStorage
  import flask_restplus
  from six.moves.urllib.parse import parse_qs, urlparse
label_desc: Use image node_id 17 for calling the PostmanTest obj's underlying member method code with example usage: obj.test_export_with_swagger(app) without return types