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

Function getCustomOpenAPIOperation

packages/openapi/src/openapi-custom.ts:27–29  ·  view source on GitHub ↗
(o: object)

Source from the content-addressed store, hash-verified

25}
26
27export function getCustomOpenAPIOperation(o: object): OverrideOperationValue | undefined {
28 return (o as any)[OPERATION_EXTENDER_SYMBOL] as OverrideOperationValue | undefined
29}
30
31export function applyCustomOpenAPIOperation(operation: OpenAPI.OperationObject, contract: AnyContractProcedure): OpenAPI.OperationObject {
32 const operationCustoms: OverrideOperationValue[] = []

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected