Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "lib/types"

Index

Type aliases

HTTPMethod

HTTPMethod: "get" | "head" | "post" | "put" | "patch" | "delete" | "options" | "trace"

IProtocol

IProtocol: "http" | "https"

PartialRequestTemplate

PartialRequestTemplate: object

Type declaration

  • Optional body?: RequestBody
  • method: HTTPMethod
  • parameters: Parameter[]
  • servers: Server[]

Variables

Const RESTMethodTypes

RESTMethodTypes: ["get", "head", "post", "put", "patch", "delete", "options", "trace"] = ["get", "head", "post", "put", "patch", "delete", "options", "trace"] as const

Functions

Const isProtocol

  • isProtocol(s: string): s is IProtocol

Generated using TypeDoc