You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

express-openapi-generator

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-openapi-generator - npm Package Compare versions

Comparing version

to
1.2.0

11

lib/openapi-builder/index.d.ts

@@ -27,2 +27,13 @@ import { OpenAPIV3 } from 'openapi-types';

/**
* Initializes and returns an instance of a DocumentBuilder that is not attached to the
* static reference of DocumentBuilder.
* Allows you to create a second document builder object, export it and use however desired.
*
* **Does NOT** override the underlying singleton instance
*
* @param documentStub The minimum required OpenApiv3 skeleton spec
* @returns The newly created document builder object
*/
static initializeDetachedDocument(documentStub: OpenAPIV3.Document): DocumentBuilder;
/**
* Retrieves the current document builder instance.

@@ -29,0 +40,0 @@ * Used to retrieve references across modules.

@@ -297,2 +297,15 @@ "use strict";

/**
* Initializes and returns an instance of a DocumentBuilder that is not attached to the
* static reference of DocumentBuilder.
* Allows you to create a second document builder object, export it and use however desired.
*
* **Does NOT** override the underlying singleton instance
*
* @param documentStub The minimum required OpenApiv3 skeleton spec
* @returns The newly created document builder object
*/
static initializeDetachedDocument(documentStub) {
return new DocumentBuilder(documentStub);
}
/**
* Retrieves the current document builder instance.

@@ -299,0 +312,0 @@ * Used to retrieve references across modules.

2

package.json
{
"name": "express-openapi-generator",
"version": "1.1.4",
"version": "1.2.0",
"description": "An Express plugin that can parse an app and generate a OpenApiv3 document.",

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