@opra/common
Version:
Opra common package
25 lines (24 loc) • 701 B
TypeScript
import type { DataTypeContainer } from '../data-type-container.interface.js';
import type { HttpOperation } from './http-operation.interface.js';
import type { HttpParameter } from './http-parameter.interface.js';
/**
*
* @interface HttpController
*/
export interface HttpController extends DataTypeContainer {
kind: HttpController.Kind;
description?: string;
path?: string;
operations?: Record<string, HttpOperation>;
controllers?: Record<string, HttpController>;
parameters?: HttpParameter[];
}
/**
*
* @namespace HttpController
*/
export declare namespace HttpController {
type Name = string;
const Kind = "HttpController";
type Kind = 'HttpController';
}