@martinsson/serverless-openapi-documentation
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
527280