文件操作 - redoc.d.ts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/openapi-typescript/dist/lib/redoc.d.ts
编辑文件内容
import { BaseResolver, type Config as RedoclyConfig, type Document } from "@redocly/openapi-core"; import { Readable } from "node:stream"; import type { OpenAPI3 } from "../types.js"; export interface ValidateAndBundleOptions { redoc: RedoclyConfig; silent: boolean; cwd?: URL; } interface ParseSchemaOptions { absoluteRef: string; resolver: BaseResolver; } export declare function parseSchema(schema: unknown, { absoluteRef, resolver }: ParseSchemaOptions): Promise<Document>; export declare function validateAndBundle(source: string | URL | OpenAPI3 | Readable | Buffer, options: ValidateAndBundleOptions): Promise<any>; export {};
修改文件时间
将文件时间修改为当前时间的前一年
删除文件