Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

exegesis

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exegesis - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

5

lib/oas3/index.d.ts
import oas3 from 'openapi3-ts';
import OpenApi from './OpenApi';
import { ExgesisCompiledOptions } from '../options';
import { ExegesisCompiledOptions } from '../options';
export { OpenApi };
/**

@@ -10,2 +11,2 @@ * Reads an OpenAPI document from a YAML or JSON file.

*/
export declare function compile(openApiDoc: oas3.OpenAPIObject, options: ExgesisCompiledOptions): Promise<OpenApi>;
export declare function compile(openApiDoc: oas3.OpenAPIObject, options: ExegesisCompiledOptions): Promise<OpenApi>;

1

lib/oas3/index.js

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

const OpenApi_1 = __importDefault(require("./OpenApi"));
exports.OpenApi = OpenApi_1.default;
/**

@@ -17,0 +18,0 @@ * Reads an OpenAPI document from a YAML or JSON file.

import * as oas3 from 'openapi3-ts';
import { ExgesisCompiledOptions } from '../options';
import { ExegesisCompiledOptions } from '../options';
/**

@@ -16,3 +16,3 @@ * A path to an object within a JSON document.

readonly openApiDoc: oas3.OpenAPIObject;
readonly options: ExgesisCompiledOptions;
readonly options: ExegesisCompiledOptions;
/**

@@ -25,3 +25,3 @@ * Create a new Oas3CompileContext.

*/
constructor(openApiDoc: oas3.OpenAPIObject, path: JsonPath, options: ExgesisCompiledOptions);
constructor(openApiDoc: oas3.OpenAPIObject, path: JsonPath, options: ExegesisCompiledOptions);
constructor(parent: Oas3CompileContext, relativePath: JsonPath);

@@ -28,0 +28,0 @@ childContext(relativePath: JsonPath | string): Oas3CompileContext;

/// <reference types="node" />
import * as http from 'http';
import * as oas3 from 'openapi3-ts';
import { ExgesisCompiledOptions } from '../options';
import { ExegesisCompiledOptions } from '../options';
import { ApiInterface, ResolvedPath } from '../types/internal';

@@ -18,4 +18,4 @@ import { OAS3ApiInfo } from '../types';

*/
constructor(openApiDoc: oas3.OpenAPIObject, options: ExgesisCompiledOptions);
constructor(openApiDoc: oas3.OpenAPIObject, options: ExegesisCompiledOptions);
resolve(method: string, url: string, headers: http.IncomingHttpHeaders): ResolvedPath<OAS3ApiInfo> | undefined;
}
import { MimeTypeRegistry } from "./utils/mime";
import { CustomFormats, ExegesisOptions, StringParser, BodyParser, Controllers, Authenticators, ResponseValidationCallback } from './types';
import { handleErrorFunction } from "./types/options";
export interface ExgesisCompiledOptions {
export interface ExegesisCompiledOptions {
customFormats: CustomFormats;

@@ -18,2 +18,2 @@ controllers: Controllers;

}
export declare function compileOptions(options?: ExegesisOptions): ExgesisCompiledOptions;
export declare function compileOptions(options?: ExegesisOptions): ExegesisCompiledOptions;
{
"name": "exegesis",
"version": "1.3.2",
"version": "1.3.3",
"description": "Parses OpenAPI documents",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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