Skip to content

Commit

Permalink
v4.13.7-issue-699
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjustjones committed Apr 8, 2022
1 parent 7793c0f commit caca56e
Show file tree
Hide file tree
Showing 82 changed files with 5,878 additions and 0 deletions.
21 changes: 21 additions & 0 deletions dist/framework/ajv/formats.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
export declare const formats: {
int32: {
validate: (i: any) => boolean;
type: string;
};
int64: {
validate: (i: any) => boolean;
type: string;
};
float: {
validate: (i: any) => boolean;
type: string;
};
double: {
validate: (i: any) => boolean;
type: string;
};
byte: (b: any) => boolean;
binary: () => boolean;
password: () => boolean;
};
35 changes: 35 additions & 0 deletions dist/framework/ajv/formats.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/framework/ajv/formats.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions dist/framework/ajv/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import * as Ajv from 'ajv';
import { OpenAPIV3, Options } from '../types';
export declare function createRequestAjv(openApiSpec: OpenAPIV3.Document, options?: Options): Ajv.Ajv;
export declare function createResponseAjv(openApiSpec: OpenAPIV3.Document, options?: Options): Ajv.Ajv;
153 changes: 153 additions & 0 deletions dist/framework/ajv/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/framework/ajv/index.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions dist/framework/ajv/options.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import ajv = require('ajv');
import { OpenApiValidatorOpts, Options, RequestValidatorOptions } from '../types';
export declare class AjvOptions {
private options;
constructor(options: OpenApiValidatorOpts);
get preprocessor(): ajv.Options;
get response(): ajv.Options;
get request(): RequestValidatorOptions;
get multipart(): Options;
private baseOptions;
}
61 changes: 61 additions & 0 deletions dist/framework/ajv/options.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/framework/ajv/options.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions dist/framework/base.path.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { OpenAPIV3 } from './types';
interface ServerUrlVariables {
[key: string]: ServerUrlValues;
}
interface ServerUrlValues {
enum: string[];
default?: string;
}
export declare class BasePath {
readonly variables: ServerUrlVariables;
readonly expressPath: string;
private allPaths;
constructor(server: OpenAPIV3.ServerObject);
static fromServers(servers: OpenAPIV3.ServerObject[]): BasePath[];
hasVariables(): boolean;
all(): string[];
private findUrlPath;
}
export {};
Loading

0 comments on commit caca56e

Please sign in to comment.