@kubb/agent 5.0.0-alpha.17 → 5.0.0-alpha.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.output/nitro.json +1 -1
- package/.output/server/chunks/nitro/nitro.mjs +629 -201
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/node_modules/@kubb/fabric-core/package.json +1 -1
- package/.output/server/node_modules/@kubb/react-fabric/dist/index.js +6 -0
- package/.output/server/node_modules/@kubb/react-fabric/package.json +2 -2
- package/.output/server/node_modules/@redocly/config/lib/root-config-schema.js +22 -2
- package/.output/server/node_modules/@redocly/config/package.json +2 -2
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/all.js +5 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/minimal.js +5 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended-strict.js +5 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended.js +5 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/config/spec.js +5 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/ref-utils.js +7 -6
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/index.js +2 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/index.js +2 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/index.js +2 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-mixed-number-range-constraints.js +19 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/index.js +2 -0
- package/.output/server/node_modules/@redocly/openapi-core/lib/types/redocly-yaml.js +4 -0
- package/.output/server/node_modules/@redocly/openapi-core/package.json +2 -2
- package/.output/server/package.json +5 -5
- package/package.json +17 -17
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nitro.mjs","sources":["../../../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs","../../../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../../../../../../node_modules/.pnpm/node-mock-http@1.0.4/node_modules/node-mock-http/dist/index.mjs","../../../../../../node_modules/.pnpm/h3@1.15.9/node_modules/h3/dist/index.mjs","../../../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../../internals/utils/dist/index.js","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../ast/dist/index.js","../../../../../core/dist/index.js","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../server/utils/loadConfig.ts","../../../../../plugin-client/dist/chunk--u3MIqq1.js","../../../../../plugin-oas/dist/getFooter-Dz4u5Mg4.js","../../../../../plugin-oas/dist/SchemaMapper-CqMkO2T1.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/requestBody-bs_SwfEj.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-BFqabdAx.js","../../../../../plugin-oas/dist/generators-hPE06pZB.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-Cp2XF1Sa.js","../../../../../plugin-ts/dist/chunk--u3MIqq1.js","../../../../../plugin-ts/dist/casing-Cp-jbC_k.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/Type-CEYpKTNb.js","../../../../../core/dist/hooks.js","../../../../../plugin-ts/dist/generators-huxvj9y4.js","../../../../../plugin-ts/dist/resolvers-DsKabI0F.js","../../../../../plugin-ts/dist/index.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-zod/dist/generators-Dc5k6ZRg.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-C7Uz42d2.js","../../../../../plugin-client/dist/templates/clients/axios.source.js","../../../../../plugin-client/dist/templates/clients/fetch.source.js","../../../../../plugin-client/dist/templates/config.source.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/components-C6qvavJ4.js","../../../../../plugin-cypress/dist/generators-CsddWitM.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-BkBIov4R.js","../../../../../plugin-faker/dist/fakerGenerator-M5oCrPmy.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-zYi6bZ4D.js","../../../../../plugin-mcp/dist/generators-B8MpQcFC.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-skQTekfZ.js","../../../../../plugin-msw/dist/generators-Cx8YEtI4.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk--u3MIqq1.js","../../../../../plugin-react-query/dist/components-CFTdrzdu.js","../../../../../plugin-react-query/dist/generators-D5XRpAur.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk--u3MIqq1.js","../../../../../plugin-solid-query/dist/components-DhF2y62B.js","../../../../../plugin-solid-query/dist/generators-Bjt_pqc2.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk--u3MIqq1.js","../../../../../plugin-svelte-query/dist/components-gSKB93uB.js","../../../../../plugin-svelte-query/dist/generators-BnlHq9qP.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk--u3MIqq1.js","../../../../../plugin-swr/dist/components-dWefgCqh.js","../../../../../plugin-swr/dist/generators-h6SrQ3Gr.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk--u3MIqq1.js","../../../../../plugin-vue-query/dist/components--op2hxIJ.js","../../../../../plugin-vue-query/dist/generators-B6cv10kw.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/mergePlugins.ts","../../../../server/utils/publish.ts","../../../../server/utils/setupHookListener.ts","../../../../server/utils/ws.ts","../../../../server/utils/connectStudio.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["createRouter","f","h","i","l","createError","mergeHeaders","s","nodeFetch","Headers","Headers$1","AbortController$1","stringify","normalizeKey","defineDriver","DRIVER_NAME","createStorage","fsPromises","PATH_TRAVERSE_RE","fsp","snakeCase","_inlineAppConfig","createRadixRouter","_emitter","_a","toError","AsyncEventEmitter","__privateAdd","__privateGet","formatMs","parseHex","hex","process","toCamelOrPascal","applyToFileParts","camelCase","isValidVarName","pascalCase","path","readFile","writeFile","URLPath","_b","_URLPath_instances","__publicField","_options","__privateSet","__privateMethod","transformParam_fn","eachParam_fn","match","Node","Queue","_head","_tail","_size","__privateWrapper","pLimit","validateConcurrency","resolve","extname","x","performance","build","readdir","version","_c","_d","_e","_f","renderOperation","renderSchema","item","trimExtName","defaultResolver","error","__defProp","__name","isPlainObject","parse","loadConfig","schema","params","_context","trimQuotes","schemas","normalizedSchema","name","min","max","getParams$1","getParams","Operations","validate","oas","options","jsStringEscape","toRegExpString","Type","siblings","require","global","modifiers","questionToken","node","operationsGenerator","source","Function","baseURL","source$2","Response","getNestedAccessor","getTransformer$1","MutationKey","getParams$9","getTransformer","QueryKey","getParams$8","QueryOptions","getParams$7","InfiniteQuery","getParams$6","InfiniteQueryOptions","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","operations","fs","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","pkg","generics","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,57,112,113,114,115]}
|
|
1
|
+
{"version":3,"file":"nitro.mjs","sources":["../../../../../../node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs","../../../../../../node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs","../../../../../../node_modules/.pnpm/radix3@1.1.2/node_modules/radix3/dist/index.mjs","../../../../../../node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs","../../../../../../node_modules/.pnpm/node-mock-http@1.0.4/node_modules/node-mock-http/dist/index.mjs","../../../../../../node_modules/.pnpm/h3@1.15.9/node_modules/h3/dist/index.mjs","../../../../../../node_modules/.pnpm/hookable@5.5.3/node_modules/hookable/dist/index.mjs","../../../../../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/native.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs","../../../../../../node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/dist/shared/unstorage.zVDD2mZo.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/dist/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/utils/index.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/utils/node-fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/fs.mjs","../../../../../../node_modules/.pnpm/unstorage@1.17.4_db0@0.3.4_ioredis@5.10.1/node_modules/unstorage/drivers/fs-lite.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/storage.mjs","../../../../../../node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/hash.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/cache.mjs","../../../../../../node_modules/.pnpm/klona@2.0.6/node_modules/klona/dist/index.mjs","../../../../../../node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/utils.env.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/config.mjs","../../../../../../node_modules/.pnpm/unctx@2.5.0/node_modules/unctx/dist/index.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/context.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/route-rules.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/error/utils.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/error/prod.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/plugin.mjs","../../../../server/utils/logger.ts","../../../../server/plugins/fetch-logger.ts","../../../../../../internals/utils/dist/index.js","../../../../server/plugins/heartbeat.ts","../../../../server/utils/token.ts","../../../../server/utils/api.ts","../../../../../ast/dist/index.js","../../../../../core/dist/index.js","../../../../server/types/agent.ts","../../../../server/utils/agentCache.ts","../../../../server/utils/executeHooks.ts","../../../../server/utils/generate.ts","../../../../server/utils/getCosmiConfig.ts","../../../../server/utils/loadConfig.ts","../../../../../plugin-client/dist/chunk--u3MIqq1.js","../../../../../plugin-oas/dist/getFooter-Dz4u5Mg4.js","../../../../../plugin-oas/dist/SchemaMapper-CqMkO2T1.js","../../../../../oas/dist/index.js","../../../../../plugin-oas/dist/requestBody-bs_SwfEj.js","../../../../../plugin-oas/dist/utils.js","../../../../../plugin-client/dist/StaticClassClient-DsWHXZ_Z.js","../../../../../plugin-oas/dist/generators-hPE06pZB.js","../../../../../plugin-oas/dist/index.js","../../../../../plugin-zod/dist/components-DW4Q2yVq.js","../../../../../plugin-ts/dist/chunk--u3MIqq1.js","../../../../../plugin-ts/dist/casing-Cp-jbC_k.js","../../../../../../node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/typescript.js","../../../../../plugin-ts/dist/Type-CMC7L-38.js","../../../../../core/dist/hooks.js","../../../../../plugin-ts/dist/generators-BFkr7ecU.js","../../../../../plugin-ts/dist/resolvers-DsKabI0F.js","../../../../../plugin-ts/dist/index.js","../../../../../plugin-oas/dist/hooks.js","../../../../../plugin-zod/dist/generators-BqUuExPs.js","../../../../../plugin-zod/dist/templates/ToZod.source.js","../../../../../plugin-zod/dist/index.js","../../../../../plugin-client/dist/generators-BoX8SMR4.js","../../../../../plugin-client/dist/templates/clients/axios.source.js","../../../../../plugin-client/dist/templates/clients/fetch.source.js","../../../../../plugin-client/dist/templates/config.source.js","../../../../../plugin-client/dist/index.js","../../../../../plugin-cypress/dist/components-BO5E__bN.js","../../../../../plugin-cypress/dist/generators-b7pkIBD6.js","../../../../../plugin-cypress/dist/index.js","../../../../../plugin-faker/dist/components-CRVgxJhG.js","../../../../../plugin-faker/dist/fakerGenerator-_szd40gg.js","../../../../../plugin-faker/dist/index.js","../../../../../plugin-mcp/dist/Server-kM1BVYP3.js","../../../../../plugin-mcp/dist/generators-jjs2-iEm.js","../../../../../plugin-mcp/dist/index.js","../../../../../plugin-msw/dist/components-Hy13rv6B.js","../../../../../plugin-msw/dist/generators-CmDbu40x.js","../../../../../plugin-msw/dist/index.js","../../../../../plugin-react-query/dist/chunk--u3MIqq1.js","../../../../../plugin-react-query/dist/components-BMhCuuyw.js","../../../../../plugin-react-query/dist/generators-BXwVb54q.js","../../../../../plugin-react-query/dist/index.js","../../../../../plugin-redoc/dist/index.js","../../../../../plugin-solid-query/dist/chunk--u3MIqq1.js","../../../../../plugin-solid-query/dist/components-C3Y0aR6S.js","../../../../../plugin-solid-query/dist/generators-BrFapJYM.js","../../../../../plugin-solid-query/dist/index.js","../../../../../plugin-svelte-query/dist/chunk--u3MIqq1.js","../../../../../plugin-svelte-query/dist/components-C4oLO5tl.js","../../../../../plugin-svelte-query/dist/generators-ByZF4dTF.js","../../../../../plugin-svelte-query/dist/index.js","../../../../../plugin-swr/dist/chunk--u3MIqq1.js","../../../../../plugin-swr/dist/components-BWYZa8xS.js","../../../../../plugin-swr/dist/generators-DfBkJu18.js","../../../../../plugin-swr/dist/index.js","../../../../../plugin-vue-query/dist/chunk--u3MIqq1.js","../../../../../plugin-vue-query/dist/components-FCfsweek.js","../../../../../plugin-vue-query/dist/generators-NIxXrJZp.js","../../../../../plugin-vue-query/dist/index.js","../../../../server/utils/resolvePlugins.ts","../../../../server/utils/mergePlugins.ts","../../../../server/utils/publish.ts","../../../../server/utils/setupHookListener.ts","../../../../server/utils/ws.ts","../../../../server/utils/connectStudio.ts","../../../../server/plugins/studio.ts","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/app.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/lib/http-graceful-shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/runtime/internal/shutdown.mjs","../../../../../../node_modules/.pnpm/nitropack@2.13.2_encoding@0.1.13_rolldown@1.0.0-rc.11/node_modules/nitropack/dist/presets/node/runtime/node-server.mjs"],"names":["createRouter","f","h","i","l","createError","mergeHeaders","s","nodeFetch","Headers","Headers$1","AbortController$1","stringify","normalizeKey","defineDriver","DRIVER_NAME","createStorage","fsPromises","PATH_TRAVERSE_RE","fsp","snakeCase","_inlineAppConfig","createRadixRouter","formatMs","_a","process","toCamelOrPascal","applyToFileParts","camelCase","isValidVarName","__privateAdd","__privateGet","pascalCase","path","readFile","writeFile","URLPath","_b","_URLPath_instances","__publicField","_options","__privateSet","__privateMethod","transformParam_fn","eachParam_fn","match","Node","Queue","_head","_tail","_size","__privateWrapper","pLimit","validateConcurrency","resolve","extname","x","performance","build","readdir","version","_c","_d","_e","_f","renderOperation","renderSchema","item","trimExtName","defaultResolver","error","__defProp","__name","isPlainObject","parse","loadConfig","schema","params","_context","trimQuotes","schemas","normalizedSchema","name","min","max","getParams$1","getParams","Operations","validate","oas","options","jsStringEscape","toRegExpString","Type","siblings","require","global","modifiers","questionToken","node","operationsGenerator","source","Function","baseURL","source$2","Response","getNestedAccessor","getTransformer$1","MutationKey","getParams$9","getTransformer","QueryKey","getParams$8","QueryOptions","getParams$7","InfiniteQuery","getParams$6","InfiniteQueryOptions","getParams$5","getParams$4","Mutation","getParams$3","Query","getParams$2","operations","fs","infiniteQueryGenerator","mutationGenerator","queryGenerator","__filename","__dirname","pkg","generics","nitroApp","callNodeRequestHandler","fetchNodeRequestHandler","gracefulShutdown","HttpsServer","HttpServer"],"mappings":"","x_google_ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,57,112,113,114,115]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/fabric-core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "Core functionality for Kubb's fabric - A language-agnostic toolkit providing the foundation for plugin-based code generation with TypeScript support",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"codegen",
|
|
@@ -474,9 +474,15 @@ function getFunctionParams(params, options) {
|
|
|
474
474
|
return [...acc, parsedItem];
|
|
475
475
|
}, []).join(", ");
|
|
476
476
|
}
|
|
477
|
+
/**
|
|
478
|
+
* @deprecated use @kubb/ast
|
|
479
|
+
*/
|
|
477
480
|
function createFunctionParams(params) {
|
|
478
481
|
return params;
|
|
479
482
|
}
|
|
483
|
+
/**
|
|
484
|
+
* @deprecated use @kubb/ast
|
|
485
|
+
*/
|
|
480
486
|
var FunctionParams = class FunctionParams {
|
|
481
487
|
#params;
|
|
482
488
|
static factory(params) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/react-fabric",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.15.1",
|
|
4
4
|
"description": "React integration for Kubb's fabric - JSX runtime and component-based code generation with React reconciler for building type-safe generators",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"react-devtools-core": "6.1.5",
|
|
107
107
|
"remeda": "^2.33.6",
|
|
108
108
|
"ws": "8.18.0",
|
|
109
|
-
"@kubb/fabric-core": "0.
|
|
109
|
+
"@kubb/fabric-core": "0.15.1"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
112
|
"@types/react": "^19.2.14",
|
|
@@ -511,7 +511,15 @@ exports.redoclyConfigSchema = {
|
|
|
511
511
|
imports: {
|
|
512
512
|
type: 'array',
|
|
513
513
|
items: { type: 'string' },
|
|
514
|
-
}, licenseKey: { type: 'string' }, redirects: exports.redirectsConfigSchema, seo: exports.seoConfigSchema,
|
|
514
|
+
}, licenseKey: { type: 'string' }, redirects: exports.redirectsConfigSchema, seo: exports.seoConfigSchema,
|
|
515
|
+
/**
|
|
516
|
+
* @deprecated Should use `access.rbac` instead
|
|
517
|
+
*/
|
|
518
|
+
rbac: exports.rbacConfigSchema, apiFunctions: exports.apiFunctionsConfigSchema,
|
|
519
|
+
/**
|
|
520
|
+
* @deprecated Should use `access.requiresLogin` instead
|
|
521
|
+
*/
|
|
522
|
+
requiresLogin: requiresLoginSchema, responseHeaders: {
|
|
515
523
|
type: 'object',
|
|
516
524
|
additionalProperties: {
|
|
517
525
|
type: 'array',
|
|
@@ -529,7 +537,19 @@ exports.redoclyConfigSchema = {
|
|
|
529
537
|
}, apis: {
|
|
530
538
|
type: 'object',
|
|
531
539
|
additionalProperties: exports.apiConfigSchema,
|
|
532
|
-
} }, common_1.configGovernanceSchema), { ssoDirect: exports.ssoDirectConfigSchema,
|
|
540
|
+
} }, common_1.configGovernanceSchema), { ssoDirect: exports.ssoDirectConfigSchema,
|
|
541
|
+
/**
|
|
542
|
+
* @deprecated Should use `access.sso` instead
|
|
543
|
+
*/
|
|
544
|
+
sso: exports.ssoConfigSchema,
|
|
545
|
+
/**
|
|
546
|
+
* @deprecated Should use `access.residency` instead
|
|
547
|
+
*/
|
|
548
|
+
residency: residencySchema,
|
|
549
|
+
/**
|
|
550
|
+
* @deprecated Should use `access.logoutReturnUrl` instead
|
|
551
|
+
*/
|
|
552
|
+
logoutReturnUrl: logoutReturnUrlSchema, access: exports.accessConfigSchema, developerOnboarding: devOnboardingConfigSchema, removeAttribution: { type: 'boolean' }, i18n: exports.l10nConfigSchema, l10n: exports.l10nConfigSchema, metadata: metadataConfigSchema, metadataGlobs: metadataGlobsConfigSchema, ignore: { type: 'array', items: { type: 'string' } },
|
|
533
553
|
/**
|
|
534
554
|
* @deprecated properties moved to the root of the config
|
|
535
555
|
*/
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/config",
|
|
3
|
-
"version": "0.44.
|
|
3
|
+
"version": "0.44.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib-esm/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@markdoc/markdoc": "0.5.2",
|
|
10
|
-
"@redocly/openapi-core": "2.
|
|
10
|
+
"@redocly/openapi-core": "2.24.0",
|
|
11
11
|
"@types/node": "22.18.13",
|
|
12
12
|
"@types/react": "^19.2.7",
|
|
13
13
|
"@vitest/coverage-v8": "4.0.10",
|
|
@@ -134,6 +134,7 @@ const all = {
|
|
|
134
134
|
'no-required-schema-properties-undefined': 'error',
|
|
135
135
|
'no-schema-type-mismatch': 'error',
|
|
136
136
|
'no-invalid-media-type-examples': 'error',
|
|
137
|
+
'no-mixed-number-range-constraints': 'error',
|
|
137
138
|
'no-server-example.com': 'error',
|
|
138
139
|
'no-server-trailing-slash': 'error',
|
|
139
140
|
'no-empty-servers': 'error',
|
|
@@ -197,6 +198,7 @@ const all = {
|
|
|
197
198
|
'no-required-schema-properties-undefined': 'error',
|
|
198
199
|
'no-schema-type-mismatch': 'error',
|
|
199
200
|
'no-invalid-media-type-examples': 'error',
|
|
201
|
+
'no-mixed-number-range-constraints': 'error',
|
|
200
202
|
'no-server-example.com': 'error',
|
|
201
203
|
'no-server-trailing-slash': 'error',
|
|
202
204
|
'no-empty-servers': 'error',
|
|
@@ -257,6 +259,7 @@ const all = {
|
|
|
257
259
|
'no-duplicated-tag-names': 'error',
|
|
258
260
|
'no-required-schema-properties-undefined': 'error',
|
|
259
261
|
'no-enum-type-mismatch': 'error',
|
|
262
|
+
'no-mixed-number-range-constraints': 'error',
|
|
260
263
|
'no-schema-type-mismatch': 'error',
|
|
261
264
|
},
|
|
262
265
|
async3Rules: {
|
|
@@ -270,12 +273,14 @@ const all = {
|
|
|
270
273
|
'no-duplicated-tag-names': 'error',
|
|
271
274
|
'no-required-schema-properties-undefined': 'error',
|
|
272
275
|
'no-enum-type-mismatch': 'error',
|
|
276
|
+
'no-mixed-number-range-constraints': 'error',
|
|
273
277
|
'no-schema-type-mismatch': 'error',
|
|
274
278
|
},
|
|
275
279
|
arazzo1Rules: {
|
|
276
280
|
'criteria-unique': 'error',
|
|
277
281
|
'no-criteria-xpath': 'off',
|
|
278
282
|
'no-enum-type-mismatch': 'error',
|
|
283
|
+
'no-mixed-number-range-constraints': 'error',
|
|
279
284
|
'no-required-schema-properties-undefined': 'error',
|
|
280
285
|
'no-schema-type-mismatch': 'error',
|
|
281
286
|
'no-x-security-both-scheme-and-scheme-name': 'off',
|
|
@@ -125,6 +125,7 @@ const minimal = {
|
|
|
125
125
|
'no-invalid-media-type-examples': 'warn',
|
|
126
126
|
'no-invalid-parameter-examples': 'off',
|
|
127
127
|
'no-invalid-schema-examples': 'off',
|
|
128
|
+
'no-mixed-number-range-constraints': 'off',
|
|
128
129
|
'no-path-trailing-slash': 'warn',
|
|
129
130
|
'no-required-schema-properties-undefined': 'warn',
|
|
130
131
|
'no-schema-type-mismatch': 'warn',
|
|
@@ -181,6 +182,7 @@ const minimal = {
|
|
|
181
182
|
'no-invalid-media-type-examples': 'warn',
|
|
182
183
|
'no-invalid-parameter-examples': 'off',
|
|
183
184
|
'no-invalid-schema-examples': 'off',
|
|
185
|
+
'no-mixed-number-range-constraints': 'off',
|
|
184
186
|
'no-path-trailing-slash': 'warn',
|
|
185
187
|
'no-required-schema-properties-undefined': 'warn',
|
|
186
188
|
'no-schema-type-mismatch': 'warn',
|
|
@@ -232,6 +234,7 @@ const minimal = {
|
|
|
232
234
|
'no-channel-trailing-slash': 'off',
|
|
233
235
|
'no-duplicated-tag-names': 'off',
|
|
234
236
|
'no-enum-type-mismatch': 'warn',
|
|
237
|
+
'no-mixed-number-range-constraints': 'off',
|
|
235
238
|
'no-required-schema-properties-undefined': 'warn',
|
|
236
239
|
'no-schema-type-mismatch': 'warn',
|
|
237
240
|
'operation-operationId': 'warn',
|
|
@@ -245,6 +248,7 @@ const minimal = {
|
|
|
245
248
|
'no-channel-trailing-slash': 'off',
|
|
246
249
|
'no-duplicated-tag-names': 'off',
|
|
247
250
|
'no-enum-type-mismatch': 'warn',
|
|
251
|
+
'no-mixed-number-range-constraints': 'off',
|
|
248
252
|
'no-required-schema-properties-undefined': 'warn',
|
|
249
253
|
'no-schema-type-mismatch': 'warn',
|
|
250
254
|
'operation-operationId': 'warn',
|
|
@@ -255,6 +259,7 @@ const minimal = {
|
|
|
255
259
|
'criteria-unique': 'off',
|
|
256
260
|
'no-criteria-xpath': 'off',
|
|
257
261
|
'no-enum-type-mismatch': 'warn',
|
|
262
|
+
'no-mixed-number-range-constraints': 'off',
|
|
258
263
|
'no-required-schema-properties-undefined': 'warn',
|
|
259
264
|
'no-schema-type-mismatch': 'warn',
|
|
260
265
|
'no-x-security-both-scheme-and-scheme-name': 'off',
|
|
@@ -125,6 +125,7 @@ const recommendedStrict = {
|
|
|
125
125
|
'no-invalid-media-type-examples': 'error',
|
|
126
126
|
'no-invalid-parameter-examples': 'error',
|
|
127
127
|
'no-invalid-schema-examples': 'error',
|
|
128
|
+
'no-mixed-number-range-constraints': 'error',
|
|
128
129
|
'no-path-trailing-slash': 'error',
|
|
129
130
|
'no-required-schema-properties-undefined': 'error',
|
|
130
131
|
'no-schema-type-mismatch': 'error',
|
|
@@ -181,6 +182,7 @@ const recommendedStrict = {
|
|
|
181
182
|
'no-invalid-media-type-examples': 'error',
|
|
182
183
|
'no-invalid-parameter-examples': 'error',
|
|
183
184
|
'no-invalid-schema-examples': 'error',
|
|
185
|
+
'no-mixed-number-range-constraints': 'error',
|
|
184
186
|
'no-path-trailing-slash': 'error',
|
|
185
187
|
'no-required-schema-properties-undefined': 'error',
|
|
186
188
|
'no-schema-type-mismatch': 'error',
|
|
@@ -232,6 +234,7 @@ const recommendedStrict = {
|
|
|
232
234
|
'no-channel-trailing-slash': 'off',
|
|
233
235
|
'no-duplicated-tag-names': 'error',
|
|
234
236
|
'no-enum-type-mismatch': 'error',
|
|
237
|
+
'no-mixed-number-range-constraints': 'error',
|
|
235
238
|
'no-required-schema-properties-undefined': 'error',
|
|
236
239
|
'no-schema-type-mismatch': 'error',
|
|
237
240
|
'operation-operationId': 'error',
|
|
@@ -245,6 +248,7 @@ const recommendedStrict = {
|
|
|
245
248
|
'no-channel-trailing-slash': 'off',
|
|
246
249
|
'no-duplicated-tag-names': 'error',
|
|
247
250
|
'no-enum-type-mismatch': 'error',
|
|
251
|
+
'no-mixed-number-range-constraints': 'error',
|
|
248
252
|
'no-required-schema-properties-undefined': 'error',
|
|
249
253
|
'no-schema-type-mismatch': 'error',
|
|
250
254
|
'operation-operationId': 'error',
|
|
@@ -255,6 +259,7 @@ const recommendedStrict = {
|
|
|
255
259
|
'criteria-unique': 'error',
|
|
256
260
|
'no-criteria-xpath': 'off',
|
|
257
261
|
'no-enum-type-mismatch': 'error',
|
|
262
|
+
'no-mixed-number-range-constraints': 'error',
|
|
258
263
|
'no-required-schema-properties-undefined': 'error',
|
|
259
264
|
'no-schema-type-mismatch': 'error',
|
|
260
265
|
'no-x-security-both-scheme-and-scheme-name': 'off',
|
|
@@ -125,6 +125,7 @@ const recommended = {
|
|
|
125
125
|
'no-invalid-media-type-examples': 'warn',
|
|
126
126
|
'no-invalid-parameter-examples': 'warn',
|
|
127
127
|
'no-invalid-schema-examples': 'warn',
|
|
128
|
+
'no-mixed-number-range-constraints': 'warn',
|
|
128
129
|
'no-path-trailing-slash': 'error',
|
|
129
130
|
'no-required-schema-properties-undefined': 'warn',
|
|
130
131
|
'no-schema-type-mismatch': 'error',
|
|
@@ -181,6 +182,7 @@ const recommended = {
|
|
|
181
182
|
'no-invalid-media-type-examples': 'warn',
|
|
182
183
|
'no-invalid-parameter-examples': 'warn',
|
|
183
184
|
'no-invalid-schema-examples': 'warn',
|
|
185
|
+
'no-mixed-number-range-constraints': 'warn',
|
|
184
186
|
'no-path-trailing-slash': 'error',
|
|
185
187
|
'no-required-schema-properties-undefined': 'warn',
|
|
186
188
|
'no-schema-type-mismatch': 'error',
|
|
@@ -232,6 +234,7 @@ const recommended = {
|
|
|
232
234
|
'no-channel-trailing-slash': 'off',
|
|
233
235
|
'no-duplicated-tag-names': 'warn',
|
|
234
236
|
'no-enum-type-mismatch': 'error',
|
|
237
|
+
'no-mixed-number-range-constraints': 'warn',
|
|
235
238
|
'no-required-schema-properties-undefined': 'warn',
|
|
236
239
|
'no-schema-type-mismatch': 'error',
|
|
237
240
|
'operation-operationId': 'warn',
|
|
@@ -245,6 +248,7 @@ const recommended = {
|
|
|
245
248
|
'no-channel-trailing-slash': 'off',
|
|
246
249
|
'no-duplicated-tag-names': 'warn',
|
|
247
250
|
'no-enum-type-mismatch': 'error',
|
|
251
|
+
'no-mixed-number-range-constraints': 'warn',
|
|
248
252
|
'no-required-schema-properties-undefined': 'warn',
|
|
249
253
|
'no-schema-type-mismatch': 'error',
|
|
250
254
|
'operation-operationId': 'warn',
|
|
@@ -255,6 +259,7 @@ const recommended = {
|
|
|
255
259
|
'criteria-unique': 'warn',
|
|
256
260
|
'no-criteria-xpath': 'off',
|
|
257
261
|
'no-enum-type-mismatch': 'error',
|
|
262
|
+
'no-mixed-number-range-constraints': 'warn',
|
|
258
263
|
'no-required-schema-properties-undefined': 'warn',
|
|
259
264
|
'no-schema-type-mismatch': 'error',
|
|
260
265
|
'no-x-security-both-scheme-and-scheme-name': 'off',
|
|
@@ -125,6 +125,7 @@ const spec = {
|
|
|
125
125
|
'no-invalid-media-type-examples': 'off',
|
|
126
126
|
'no-invalid-parameter-examples': 'off',
|
|
127
127
|
'no-invalid-schema-examples': 'off',
|
|
128
|
+
'no-mixed-number-range-constraints': 'off',
|
|
128
129
|
'no-path-trailing-slash': 'off',
|
|
129
130
|
'no-required-schema-properties-undefined': 'off',
|
|
130
131
|
'no-schema-type-mismatch': 'off',
|
|
@@ -181,6 +182,7 @@ const spec = {
|
|
|
181
182
|
'no-invalid-media-type-examples': 'off',
|
|
182
183
|
'no-invalid-parameter-examples': 'off',
|
|
183
184
|
'no-invalid-schema-examples': 'off',
|
|
185
|
+
'no-mixed-number-range-constraints': 'off',
|
|
184
186
|
'no-path-trailing-slash': 'off',
|
|
185
187
|
'no-required-schema-properties-undefined': 'off',
|
|
186
188
|
'no-schema-type-mismatch': 'off',
|
|
@@ -232,6 +234,7 @@ const spec = {
|
|
|
232
234
|
'no-channel-trailing-slash': 'off',
|
|
233
235
|
'no-duplicated-tag-names': 'off',
|
|
234
236
|
'no-enum-type-mismatch': 'off',
|
|
237
|
+
'no-mixed-number-range-constraints': 'off',
|
|
235
238
|
'no-required-schema-properties-undefined': 'off',
|
|
236
239
|
'no-schema-type-mismatch': 'off',
|
|
237
240
|
'operation-operationId': 'off',
|
|
@@ -245,6 +248,7 @@ const spec = {
|
|
|
245
248
|
'no-channel-trailing-slash': 'off',
|
|
246
249
|
'no-duplicated-tag-names': 'off',
|
|
247
250
|
'no-enum-type-mismatch': 'off',
|
|
251
|
+
'no-mixed-number-range-constraints': 'off',
|
|
248
252
|
'no-required-schema-properties-undefined': 'off',
|
|
249
253
|
'no-schema-type-mismatch': 'off',
|
|
250
254
|
'operation-operationId': 'off',
|
|
@@ -255,6 +259,7 @@ const spec = {
|
|
|
255
259
|
'criteria-unique': 'error',
|
|
256
260
|
'no-criteria-xpath': 'off',
|
|
257
261
|
'no-enum-type-mismatch': 'off',
|
|
262
|
+
'no-mixed-number-range-constraints': 'off',
|
|
258
263
|
'no-required-schema-properties-undefined': 'off',
|
|
259
264
|
'no-schema-type-mismatch': 'off',
|
|
260
265
|
'no-x-security-both-scheme-and-scheme-name': 'off',
|
|
@@ -84,12 +84,13 @@ export function resolvePath(base, relative) {
|
|
|
84
84
|
}
|
|
85
85
|
export function isMappingRef(mapping) {
|
|
86
86
|
// TODO: proper detection of mapping refs
|
|
87
|
-
return (mapping
|
|
88
|
-
mapping.startsWith('
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
87
|
+
return (typeof mapping === 'string' &&
|
|
88
|
+
(mapping.startsWith('#') ||
|
|
89
|
+
mapping.startsWith('https://') ||
|
|
90
|
+
mapping.startsWith('http://') ||
|
|
91
|
+
mapping.startsWith('./') ||
|
|
92
|
+
mapping.startsWith('../') ||
|
|
93
|
+
mapping.indexOf('/') > -1));
|
|
93
94
|
}
|
|
94
95
|
export function isAnchor(ref) {
|
|
95
96
|
return /^#[A-Za-z][A-Za-z0-9\-_:.]*$/.test(ref);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SourceDescriptionType } from '../arazzo/sourceDescription-type.js';
|
|
2
2
|
import { Assertions } from '../common/assertions/index.js';
|
|
3
3
|
import { NoEnumTypeMismatch } from '../common/no-enum-type-mismatch.js';
|
|
4
|
+
import { NoMixedNumberRangeConstraints } from '../common/no-mixed-number-range-constraints.js';
|
|
4
5
|
import { NoRequiredSchemaPropertiesUndefined } from '../common/no-required-schema-properties-undefined.js';
|
|
5
6
|
import { NoSchemaTypeMismatch } from '../common/no-schema-type-mismatch.js';
|
|
6
7
|
import { NoUnresolvedRefs } from '../common/no-unresolved-refs.js';
|
|
@@ -27,6 +28,7 @@ export const rules = {
|
|
|
27
28
|
'criteria-unique': CriteriaUnique,
|
|
28
29
|
'no-criteria-xpath': NoCriteriaXpath,
|
|
29
30
|
'no-enum-type-mismatch': NoEnumTypeMismatch,
|
|
31
|
+
'no-mixed-number-range-constraints': NoMixedNumberRangeConstraints,
|
|
30
32
|
'no-required-schema-properties-undefined': NoRequiredSchemaPropertiesUndefined,
|
|
31
33
|
'no-schema-type-mismatch': NoSchemaTypeMismatch,
|
|
32
34
|
'no-unresolved-refs': NoUnresolvedRefs,
|
|
@@ -3,6 +3,7 @@ import { InfoContact } from '../common/info-contact.js';
|
|
|
3
3
|
import { InfoLicenseStrict } from '../common/info-license-strict.js';
|
|
4
4
|
import { NoDuplicatedTagNames } from '../common/no-duplicated-tag-names.js';
|
|
5
5
|
import { NoEnumTypeMismatch } from '../common/no-enum-type-mismatch.js';
|
|
6
|
+
import { NoMixedNumberRangeConstraints } from '../common/no-mixed-number-range-constraints.js';
|
|
6
7
|
import { NoRequiredSchemaPropertiesUndefined } from '../common/no-required-schema-properties-undefined.js';
|
|
7
8
|
import { NoSchemaTypeMismatch } from '../common/no-schema-type-mismatch.js';
|
|
8
9
|
import { NoUnresolvedRefs } from '../common/no-unresolved-refs.js';
|
|
@@ -26,6 +27,7 @@ export const rules = {
|
|
|
26
27
|
'no-duplicated-tag-names': NoDuplicatedTagNames,
|
|
27
28
|
'no-required-schema-properties-undefined': NoRequiredSchemaPropertiesUndefined,
|
|
28
29
|
'no-enum-type-mismatch': NoEnumTypeMismatch,
|
|
30
|
+
'no-mixed-number-range-constraints': NoMixedNumberRangeConstraints,
|
|
29
31
|
'no-schema-type-mismatch': NoSchemaTypeMismatch,
|
|
30
32
|
};
|
|
31
33
|
export const preprocessors = {};
|
|
@@ -3,6 +3,7 @@ import { InfoContact } from '../common/info-contact.js';
|
|
|
3
3
|
import { InfoLicenseStrict } from '../common/info-license-strict.js';
|
|
4
4
|
import { NoDuplicatedTagNames } from '../common/no-duplicated-tag-names.js';
|
|
5
5
|
import { NoEnumTypeMismatch } from '../common/no-enum-type-mismatch.js';
|
|
6
|
+
import { NoMixedNumberRangeConstraints } from '../common/no-mixed-number-range-constraints.js';
|
|
6
7
|
import { NoRequiredSchemaPropertiesUndefined } from '../common/no-required-schema-properties-undefined.js';
|
|
7
8
|
import { NoSchemaTypeMismatch } from '../common/no-schema-type-mismatch.js';
|
|
8
9
|
import { NoUnresolvedRefs } from '../common/no-unresolved-refs.js';
|
|
@@ -26,6 +27,7 @@ export const rules = {
|
|
|
26
27
|
'no-duplicated-tag-names': NoDuplicatedTagNames,
|
|
27
28
|
'no-required-schema-properties-undefined': NoRequiredSchemaPropertiesUndefined,
|
|
28
29
|
'no-enum-type-mismatch': NoEnumTypeMismatch,
|
|
30
|
+
'no-mixed-number-range-constraints': NoMixedNumberRangeConstraints,
|
|
29
31
|
'no-schema-type-mismatch': NoSchemaTypeMismatch,
|
|
30
32
|
};
|
|
31
33
|
export const preprocessors = {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export const NoMixedNumberRangeConstraints = () => {
|
|
2
|
+
return {
|
|
3
|
+
Schema(schema, { report, location }) {
|
|
4
|
+
if (typeof schema.maximum === 'number' && typeof schema.exclusiveMaximum === 'number') {
|
|
5
|
+
report({
|
|
6
|
+
message: 'Schema should not have both `maximum` and `exclusiveMaximum`. Use one or the other.',
|
|
7
|
+
location: location.child(['exclusiveMaximum']).key(),
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
if (typeof schema.minimum === 'number' && typeof schema.exclusiveMinimum === 'number') {
|
|
11
|
+
report({
|
|
12
|
+
message: 'Schema should not have both `minimum` and `exclusiveMinimum`. Use one or the other.',
|
|
13
|
+
location: location.child(['exclusiveMinimum']).key(),
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=no-mixed-number-range-constraints.js.map
|
|
@@ -9,6 +9,7 @@ import { NoHttpVerbsInPaths } from '../common/no-http-verbs-in-paths.js';
|
|
|
9
9
|
import { NoIdenticalPaths } from '../common/no-identical-paths.js';
|
|
10
10
|
import { NoInvalidParameterExamples } from '../common/no-invalid-parameter-examples.js';
|
|
11
11
|
import { NoInvalidSchemaExamples } from '../common/no-invalid-schema-examples.js';
|
|
12
|
+
import { NoMixedNumberRangeConstraints } from '../common/no-mixed-number-range-constraints.js';
|
|
12
13
|
import { NoPathTrailingSlash } from '../common/no-path-trailing-slash.js';
|
|
13
14
|
import { NoRequiredSchemaPropertiesUndefined } from '../common/no-required-schema-properties-undefined.js';
|
|
14
15
|
import { NoSchemaTypeMismatch } from '../common/no-schema-type-mismatch.js';
|
|
@@ -73,6 +74,7 @@ export const rules = {
|
|
|
73
74
|
'operation-parameters-unique': OperationParametersUnique,
|
|
74
75
|
'operation-tag-defined': OperationTagDefined,
|
|
75
76
|
'no-example-value-and-externalValue': NoExampleValueAndExternalValue,
|
|
77
|
+
'no-mixed-number-range-constraints': NoMixedNumberRangeConstraints,
|
|
76
78
|
'no-enum-type-mismatch': NoEnumTypeMismatch,
|
|
77
79
|
'no-path-trailing-slash': NoPathTrailingSlash,
|
|
78
80
|
'no-empty-servers': NoEmptyServers,
|
|
@@ -99,6 +99,7 @@ const builtInOAS3Rules = [
|
|
|
99
99
|
'no-server-variables-empty-enum',
|
|
100
100
|
'no-undefined-server-variable',
|
|
101
101
|
'no-unused-components',
|
|
102
|
+
'no-mixed-number-range-constraints',
|
|
102
103
|
'operation-4xx-problem-details-rfc7807',
|
|
103
104
|
'request-mime-type',
|
|
104
105
|
'response-contains-property',
|
|
@@ -124,6 +125,7 @@ const builtInAsync2Rules = [
|
|
|
124
125
|
'no-duplicated-tag-names',
|
|
125
126
|
'no-required-schema-properties-undefined',
|
|
126
127
|
'no-enum-type-mismatch',
|
|
128
|
+
'no-mixed-number-range-constraints',
|
|
127
129
|
'no-schema-type-mismatch',
|
|
128
130
|
];
|
|
129
131
|
const builtInAsync3Rules = [
|
|
@@ -137,6 +139,7 @@ const builtInAsync3Rules = [
|
|
|
137
139
|
'no-duplicated-tag-names',
|
|
138
140
|
'no-required-schema-properties-undefined',
|
|
139
141
|
'no-enum-type-mismatch',
|
|
142
|
+
'no-mixed-number-range-constraints',
|
|
140
143
|
'no-schema-type-mismatch',
|
|
141
144
|
];
|
|
142
145
|
const builtInArazzo1Rules = [
|
|
@@ -159,6 +162,7 @@ const builtInArazzo1Rules = [
|
|
|
159
162
|
'no-x-security-both-scheme-and-scheme-name',
|
|
160
163
|
'no-required-schema-properties-undefined',
|
|
161
164
|
'no-enum-type-mismatch',
|
|
165
|
+
'no-mixed-number-range-constraints',
|
|
162
166
|
'no-schema-type-mismatch',
|
|
163
167
|
'x-security-scheme-name-reference',
|
|
164
168
|
];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@redocly/openapi-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.25.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
],
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@redocly/ajv": "^8.18.0",
|
|
56
|
-
"@redocly/config": "^0.44.
|
|
56
|
+
"@redocly/config": "^0.44.2",
|
|
57
57
|
"ajv": "npm:@redocly/ajv@8.18.0",
|
|
58
58
|
"ajv-formats": "^3.0.1",
|
|
59
59
|
"colorette": "^1.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/agent-prod",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.19",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"@clack/core": "1.1.0",
|
|
12
12
|
"@clack/prompts": "1.1.0",
|
|
13
13
|
"@humanwhocodes/momoa": "2.0.4",
|
|
14
|
-
"@kubb/fabric-core": "0.
|
|
15
|
-
"@kubb/react-fabric": "0.
|
|
14
|
+
"@kubb/fabric-core": "0.15.1",
|
|
15
|
+
"@kubb/react-fabric": "0.15.1",
|
|
16
16
|
"@logtail/core": "0.5.8",
|
|
17
17
|
"@logtail/node": "0.5.8",
|
|
18
18
|
"@logtail/tools": "0.5.8",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"@readme/openapi-schemas": "3.1.0",
|
|
25
25
|
"@readme/postman-to-openapi": "4.1.0",
|
|
26
26
|
"@redocly/ajv": "8.18.0",
|
|
27
|
-
"@redocly/config": "0.44.
|
|
28
|
-
"@redocly/openapi-core": "2.
|
|
27
|
+
"@redocly/config": "0.44.2",
|
|
28
|
+
"@redocly/openapi-core": "2.25.1",
|
|
29
29
|
"@stoplight/ordered-object-literal": "1.0.5",
|
|
30
30
|
"@stoplight/types": "14.1.1",
|
|
31
31
|
"@stoplight/yaml": "4.3.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/agent",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.19",
|
|
4
4
|
"description": "Agent server for Kubb, enabling HTTP-based access to code generation capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"!/**/__snapshots__/**"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@kubb/fabric-core": "0.
|
|
35
|
+
"@kubb/fabric-core": "0.15.1",
|
|
36
36
|
"@logtail/node": "^0.5.8",
|
|
37
37
|
"consola": "^3.4.2",
|
|
38
38
|
"jiti": "2.5.1",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
"tinyexec": "^1.0.4",
|
|
41
41
|
"unstorage": "^1.17.4",
|
|
42
42
|
"ws": "^8.20.0",
|
|
43
|
-
"@kubb/core": "5.0.0-alpha.
|
|
44
|
-
"@kubb/plugin-client": "5.0.0-alpha.
|
|
45
|
-
"@kubb/plugin-cypress": "5.0.0-alpha.
|
|
46
|
-
"@kubb/plugin-faker": "5.0.0-alpha.
|
|
47
|
-
"@kubb/plugin-mcp": "5.0.0-alpha.
|
|
48
|
-
"@kubb/plugin-msw": "5.0.0-alpha.
|
|
49
|
-
"@kubb/plugin-oas": "5.0.0-alpha.
|
|
50
|
-
"@kubb/plugin-react-query": "5.0.0-alpha.
|
|
51
|
-
"@kubb/plugin-redoc": "5.0.0-alpha.
|
|
52
|
-
"@kubb/plugin-solid-query": "5.0.0-alpha.
|
|
53
|
-
"@kubb/plugin-svelte-query": "5.0.0-alpha.
|
|
54
|
-
"@kubb/plugin-swr": "5.0.0-alpha.
|
|
55
|
-
"@kubb/plugin-ts": "5.0.0-alpha.
|
|
56
|
-
"@kubb/plugin-vue-query": "5.0.0-alpha.
|
|
57
|
-
"@kubb/plugin-zod": "5.0.0-alpha.
|
|
43
|
+
"@kubb/core": "5.0.0-alpha.19",
|
|
44
|
+
"@kubb/plugin-client": "5.0.0-alpha.19",
|
|
45
|
+
"@kubb/plugin-cypress": "5.0.0-alpha.19",
|
|
46
|
+
"@kubb/plugin-faker": "5.0.0-alpha.19",
|
|
47
|
+
"@kubb/plugin-mcp": "5.0.0-alpha.19",
|
|
48
|
+
"@kubb/plugin-msw": "5.0.0-alpha.19",
|
|
49
|
+
"@kubb/plugin-oas": "5.0.0-alpha.19",
|
|
50
|
+
"@kubb/plugin-react-query": "5.0.0-alpha.19",
|
|
51
|
+
"@kubb/plugin-redoc": "5.0.0-alpha.19",
|
|
52
|
+
"@kubb/plugin-solid-query": "5.0.0-alpha.19",
|
|
53
|
+
"@kubb/plugin-svelte-query": "5.0.0-alpha.19",
|
|
54
|
+
"@kubb/plugin-swr": "5.0.0-alpha.19",
|
|
55
|
+
"@kubb/plugin-ts": "5.0.0-alpha.19",
|
|
56
|
+
"@kubb/plugin-vue-query": "5.0.0-alpha.19",
|
|
57
|
+
"@kubb/plugin-zod": "5.0.0-alpha.19"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/ws": "^8.18.1",
|