dino-express
Version:
DinO enabled REST framework based on express
12 lines (11 loc) • 411 B
TypeScript
import { type OpenAPI } from 'openapi-types';
/**
* Abstract definition of an OpenAPI descriptor provider.
*/
export declare abstract class DescriptorProvider {
/**
* Provide a reference to an OpenAPI descriptor that will allow to define the APIs for the service.
* @returns {string} the path of the OpenAPI descriptor file.
*/
abstract provide(): Promise<string | OpenAPI.Document>;
}