UNPKG

@scalar/api-client

Version:

the open source API testing client

6 lines (5 loc) 177 B
import { isHttpMethod as e } from "@scalar/helpers/http/is-http-method"; const o = (t, r) => !t || !e(r) ? null : { path: t, method: r }; export { o as getOperationContext };