Socket
Socket
Sign inDemoInstall

google-discovery-to-swagger

Package Overview
Dependencies
87
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.14 to 1.0.0

2

package.json
{
"name": "google-discovery-to-swagger",
"version": "0.0.14",
"version": "1.0.0",
"description": "Script for converting Google Discovery format into Swagger 2.0",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -267,4 +267,7 @@ 'use strict';

if ('scopes' in method)
srMethod.security = [{ Oauth2: method.scopes}];
srMethod.security = _.map(method.scopes, function (scope) {
return {
Oauth2: [scope]
};
});

@@ -271,0 +274,0 @@ return srMethod;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc