Comparing version 1.3.2 to 1.3.3
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>; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
293553
4523