MCPcopy
hub / github.com/GitbookIO/gitbook / createStateKey

Function createStateKey

packages/react-openapi/src/utils.ts:11–13  ·  view source on GitHub ↗
(key: string, scope?: string)

Source from the content-addressed store, hash-verified

9}
10
11export function createStateKey(key: string, scope?: string) {
12 return scope ? `${scope}_${key}` : key;
13}
14
15/**
16 * Check if an object has a description. Either at the root level or in items.

Callers 8

OpenAPIResponsesFunction · 0.90
OpenAPIWebhookExampleFunction · 0.90
OpenAPISecuritiesFunction · 0.90
OpenAPIRequestBodyFunction · 0.90
OpenAPIResponseFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected