MCPcopy Create free account
hub / github.com/middleapi/orpc / toOpenAPIMethod

Function toOpenAPIMethod

packages/openapi/src/openapi-utils.ts:18–20  ·  view source on GitHub ↗
(method: HTTPMethod)

Source from the content-addressed store, hash-verified

16 * @internal
17 */
18export function toOpenAPIMethod(method: HTTPMethod): Lowercase<HTTPMethod> {
19 return method.toLocaleLowerCase() as Lowercase<HTTPMethod>
20}
21
22/**
23 * @internal

Callers 2

generateMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected