krakentyio-exegesis-koa
Version:
Parses OpenAPI documents
12 lines (11 loc) • 564 B
TypeScript
import Operation from './Operation';
import Oas3CompileContext from './Oas3CompileContext';
import * as oas3 from 'openapi3-ts';
export declare const HTTP_METHODS: readonly ["get", "head", "post", "put", "delete", "options", "trace", "patch"];
export default class Path {
readonly context: Oas3CompileContext;
readonly oaPath: oas3.PathItemObject;
private readonly _operations;
constructor(context: Oas3CompileContext, oaPath: oas3.PathItemObject, exegesisController: string | undefined);
getOperation(method: string): Operation | undefined;
}