code: def test_oauth_security_headers(self, app):
      api = restplus.Api(
          app,
          security="oauth",
          authorizations={
              "oauth": {
                  "type": "oauth2",
                  "authorizationUrl": "https://somewhere.com/oauth/authorize",
                  "flow": "implicit",
                  "scopes": {"read": "Can read", "write": "Can write"},
              }
          },
      )
  
      @api.route("/test/")
      class Test(restplus.Resource):
          def get(self):
              pass
  
      data = api.as_postman()
  
      validate(data, schema)
  
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 16 for calling the PostmanTest obj's underlying member method code with example usage: obj.test_oauth_security_headers(app) without return types