MCPcopy Index your code
hub / github.com/dataease/SQLBot / isOpenAPI30

Function isOpenAPI30

frontend/public/swagger-ui-bundle.js:41945–41952  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

41943 resolve: async (s) => resolveGenericStrategy(s),
41944 },
41945 gu = mu
41946 const isOpenAPI30 = (s) => {
41947 try {
41948 const { openapi: o } = s
41949 return 'string' == typeof o && /^3\.0\.(?:[1-9]\d*|0)$/.test(o)
41950 } catch {
41951 return !1
41952 }
41953 },
41954 isOpenAPI31 = (s) => {
41955 try {

Callers 2

isOpenAPI3Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected