@scalar/api-reference
Version:
Generate beautiful API references from OpenAPI documents
8 lines • 475 B
TypeScript
import type { SchemaObject } from '@scalar/workspace-store/schemas/v3.1/strict/openapi-document';
/**
* Determines if the given schema is an empty object schema.
* An empty object schema is defined as a schema with type 'object'
* and no defined properties, no additionalProperties (or set to false), and no patternProperties.
*/
export declare const isEmptySchemaObject: (schema: SchemaObject | undefined) => boolean;
//# sourceMappingURL=is-empty-schema-object.d.ts.map