@scalar/oas-utils
Version:
Open API spec and Yaml handling utilities
8 lines • 490 B
TypeScript
import type { Webhook } from '@scalar/types/legacy';
import type { Request } from '../entities/spec/requests.ts';
import type { Tag } from '../entities/spec/spec-objects.ts';
/**
* Check if an entity should be ignored
*/
export declare const shouldIgnoreEntity: (data: undefined | Pick<Tag, "x-internal" | "x-scalar-ignore"> | Pick<Request, "x-internal" | "x-scalar-ignore"> | Pick<Webhook, "x-internal" | "x-scalar-ignore">) => boolean;
//# sourceMappingURL=should-ignore-entity.d.ts.map