Socket
Socket
Sign inDemoInstall

@martinsson/serverless-openapi-documentation

Package Overview
Dependencies
96
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1 to 1.2.2

2

build/DefinitionGenerator.js

@@ -55,3 +55,3 @@ "use strict";

function crateModel(value, key) {
return { name: key, contentType: 'application/json', schema: value, description: '', examples: [], example: {} };
return { name: key, contentType: 'application/json', schema: value, description: '', example: {} };
}

@@ -58,0 +58,0 @@ return this;

{
"name": "@martinsson/serverless-openapi-documentation",
"version": "1.2.1",
"version": "1.2.2",
"description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration",

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

{
"name": "@martinsson/serverless-openapi-documentation",
"version": "1.2.1",
"version": "1.2.2",
"description": "Serverless 1.0 plugin to generate OpenAPI V3 documentation from serverless configuration",

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

@@ -74,3 +74,3 @@ import _ = require("lodash");

function crateModel(value, key): Model {
return {name: key, contentType: 'application/json', schema: value, description: '', examples: [], example: {}};
return {name: key, contentType: 'application/json', schema: value, description: '', example: {}} as Model;
}

@@ -77,0 +77,0 @@

Sorry, the diff of this file is not supported yet

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