New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

express-swagger-typescript

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-swagger-typescript - npm Package Compare versions

Comparing version 1.0.22 to 1.0.23

1

dist/esm/iSwagger.d.ts

@@ -62,2 +62,3 @@ import { IApiOperationArgsBaseRequestBody } from './iApiOperationArgs.base';

required?: string[];
model?: any | string;
properties?: {

@@ -64,0 +65,0 @@ [key: string]: ISwaggerPropertySchemaOperation;

4

dist/esm/swagger.service.js

@@ -567,3 +567,5 @@ import * as assert from 'assert';

if (parameter.schema.model)
newSwaggerOperationParameter.schema = Object.assign(Object.assign({}, newSwaggerOperationParameter.schema), { $ref: this.buildRef(parameter.schema.model) });
if (!newSwaggerOperationParameter.schema)
newSwaggerOperationParameter.schema = {};
newSwaggerOperationParameter.schema.model = Object.assign(Object.assign({}, newSwaggerOperationParameter.schema.model), { $ref: this.buildRef(parameter.schema.model) });
}

@@ -570,0 +572,0 @@ if (parameter.items)

@@ -62,2 +62,3 @@ import { IApiOperationArgsBaseRequestBody } from './iApiOperationArgs.base';

required?: string[];
model?: any | string;
properties?: {

@@ -64,0 +65,0 @@ [key: string]: ISwaggerPropertySchemaOperation;

@@ -593,3 +593,5 @@ "use strict";

if (parameter.schema.model)
newSwaggerOperationParameter.schema = Object.assign(Object.assign({}, newSwaggerOperationParameter.schema), { $ref: this.buildRef(parameter.schema.model) });
if (!newSwaggerOperationParameter.schema)
newSwaggerOperationParameter.schema = {};
newSwaggerOperationParameter.schema.model = Object.assign(Object.assign({}, newSwaggerOperationParameter.schema.model), { $ref: this.buildRef(parameter.schema.model) });
}

@@ -596,0 +598,0 @@ if (parameter.items)

{
"name": "express-swagger-typescript",
"version": "1.0.22",
"version": "1.0.23",
"description": "Generate and serve swagger",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc