MCPcopy
hub / github.com/GitbookIO/gitbook / ParseOpenAPIInput

Interface ParseOpenAPIInput

packages/openapi-parser/src/parse.ts:8–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import { parseOpenAPIV3 } from './v3';
7
8export interface ParseOpenAPIInput {
9 /**
10 * The API definition to parse.
11 */
12 value: string | AnyObject;
13 /**
14 * The root URL of the specified OpenAPI document.
15 */
16 rootURL: string | null;
17 /**
18 * Options for the parser.
19 */
20 options?: {
21 plugins?: Plugin[];
22 };
23}
24
25export interface ParseOpenAPIResult {
26 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected