MCPcopy
hub / github.com/github/docs / getOnlyApiVersions

Function getOnlyApiVersions

src/rest/scripts/test-open-api-schema.js:112–116  ·  view source on GitHub ↗
(version)

Source from the content-addressed store, hash-verified

110}
111
112function getOnlyApiVersions(version) {
113 return allVersions[version].apiVersions.map(
114 (apiVersion) => `${allVersions[version].version}.${apiVersion}`
115 )
116}
117
118function createCheckObj() {
119 const versions = {}

Callers 2

createCheckObjFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected