@paultaku/node-mock-server
Version:
A TypeScript-based mock server with automatic Swagger-based mock file generation
34 lines • 836 B
TypeScript
import { z } from "zod";
export declare const SwaggerDocSchema: z.ZodObject<{
openapi: z.ZodString;
info: z.ZodObject<{
title: z.ZodString;
version: z.ZodString;
}, "strip", z.ZodTypeAny, {
title: string;
version: string;
}, {
title: string;
version: string;
}>;
paths: z.ZodRecord<z.ZodString, z.ZodAny>;
components: z.ZodOptional<z.ZodAny>;
}, "strip", z.ZodTypeAny, {
openapi: string;
info: {
title: string;
version: string;
};
paths: Record<string, any>;
components?: any;
}, {
openapi: string;
info: {
title: string;
version: string;
};
paths: Record<string, any>;
components?: any;
}>;
export type SwaggerDoc = z.infer<typeof SwaggerDocSchema>;
//# sourceMappingURL=swagger.d.ts.map