airship-server
Version:
Airship is a framework for Node.JS & TypeScript that helps you to write big, scalable and maintainable API servers.
11 lines (10 loc) • 354 B
TypeScript
import { Type } from "../types/Type";
export default class ApiMethodParam {
readonly name: string;
readonly type: Type;
readonly required: boolean;
readonly description: string;
constructor(name: string, type: Type, required: boolean, description: string);
serialize(): Object;
static deserialize(raw: any): ApiMethodParam;
}