JsonMethodPath
@tsed/schema
Usage
typescript
import { JsonMethodPath } from "@tsed/schema";
See /packages/specs/schema/src/types/domain/JsonOperation.ts.
Overview
ts
class JsonMethodPath extends JsonMap<any> {
method: string;
path: string | RegExp;
constructor(method: string, path: string | RegExp);
summary(summary: string): this;
description(description: string): this;
}
method
ts
method: string;
path
ts
path: string | RegExp;
summary
ts
summary(summary: string): this;
description
ts
description(description: string): this;