@kubb/agent 5.0.0-alpha.2 → 5.0.0-alpha.20
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 +2 -2
- package/.output/server/chunks/nitro/nitro.mjs +2809 -1682
- package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
- package/.output/server/chunks/routes/api/health.get.mjs +3 -5
- package/.output/server/chunks/routes/api/health.get.mjs.map +1 -1
- package/.output/server/index.mjs +3 -5
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/permessage-deflate.js +6 -6
- package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/websocket-server.js +5 -5
- package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/websocket.js +6 -6
- package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/package.json +4 -3
- package/.output/server/node_modules/.nitro/ws@8.20.0/wrapper.mjs +21 -0
- package/.output/server/node_modules/@kubb/fabric-core/dist/{chunk-BVHe6Par.js → chunk-O_arW02_.js} +6 -11
- package/.output/server/node_modules/@kubb/fabric-core/dist/{defaultParser-BD_N68Bo.js → defaultParser-iCpMSYCp.js} +4 -5
- package/.output/server/node_modules/@kubb/fabric-core/dist/{getRelativePath-C4Au07ON.js → getRelativePath-NAm_Y-vp.js} +3 -6
- package/.output/server/node_modules/@kubb/fabric-core/dist/index.js +71 -89
- package/.output/server/node_modules/@kubb/fabric-core/dist/{onProcessExit-CnZym153.js → onProcessExit-Cput7j2c.js} +124 -138
- package/.output/server/node_modules/@kubb/fabric-core/dist/parsers/typescript.js +3 -4
- package/.output/server/node_modules/@kubb/fabric-core/dist/parsers.js +4 -5
- package/.output/server/node_modules/@kubb/fabric-core/dist/plugins.js +6 -12
- package/.output/server/node_modules/@kubb/fabric-core/package.json +2 -2
- package/.output/server/node_modules/@kubb/react-fabric/dist/{chunk-DbZtQ4qb.js → chunk-BGCRLu6H.js} +12 -21
- package/.output/server/node_modules/@kubb/react-fabric/dist/index.js +33 -35
- package/.output/server/node_modules/@kubb/react-fabric/dist/{react-C2cYsofv.js → jsx-runtime-Bl0DfUmV.js} +262 -7
- package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime.js +3 -5
- package/.output/server/node_modules/@kubb/react-fabric/dist/parsers.js +2 -3
- package/.output/server/node_modules/@kubb/react-fabric/dist/plugins.js +4 -7
- package/.output/server/node_modules/@kubb/react-fabric/dist/{reactPlugin-DGKBWjiR.js → reactPlugin-QQPrjNuQ.js} +13 -28
- package/.output/server/node_modules/@kubb/react-fabric/package.json +7 -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/index.js +1 -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 +6 -6
- package/package.json +20 -20
- package/.output/server/node_modules/.nitro/ws@8.19.0/wrapper.mjs +0 -8
- package/.output/server/node_modules/@kubb/react-fabric/dist/jsx-runtime-CZxrhUx8.js +0 -266
- /package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/buffer-util.js +0 -0
- /package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/constants.js +0 -0
- /package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/event-target.js +0 -0
- /package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/extension.js +0 -0
- /package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/limiter.js +0 -0
- /package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/receiver.js +0 -0
- /package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/sender.js +0 -0
- /package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/stream.js +0 -0
- /package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/subprotocol.js +0 -0
- /package/.output/server/node_modules/.nitro/{ws@8.19.0 → ws@8.20.0}/lib/validation.js +0 -0
|
@@ -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',
|
|
@@ -11,6 +11,7 @@ export { pause } from './utils/pause.js';
|
|
|
11
11
|
export { pluralize } from './utils/pluralize.js';
|
|
12
12
|
export { readFileFromUrl } from './utils/read-file-from-url.js';
|
|
13
13
|
export { slash } from './utils/slash.js';
|
|
14
|
+
export { regexFromString } from './utils/regex-from-string.js';
|
|
14
15
|
export { Oas2Types } from './types/oas2.js';
|
|
15
16
|
export { Oas3Types } from './types/oas3.js';
|
|
16
17
|
export { Oas3_1Types } from './types/oas3_1.js';
|
|
@@ -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.20",
|
|
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",
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"validate.io-integer": "1.0.5",
|
|
109
109
|
"validate.io-integer-array": "1.0.0",
|
|
110
110
|
"validate.io-number": "1.0.3",
|
|
111
|
-
"ws": "8.
|
|
111
|
+
"ws": "8.20.0",
|
|
112
112
|
"yaml": "1.10.2",
|
|
113
113
|
"yaml-ast-parser": "0.0.43",
|
|
114
114
|
"yocto-queue": "1.2.2"
|
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.20",
|
|
4
4
|
"description": "Agent server for Kubb, enabling HTTP-based access to code generation capabilities.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent",
|
|
@@ -32,34 +32,34 @@
|
|
|
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",
|
|
39
39
|
"remeda": "^2.33.6",
|
|
40
40
|
"tinyexec": "^1.0.4",
|
|
41
41
|
"unstorage": "^1.17.4",
|
|
42
|
-
"ws": "^8.
|
|
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.
|
|
42
|
+
"ws": "^8.20.0",
|
|
43
|
+
"@kubb/core": "5.0.0-alpha.20",
|
|
44
|
+
"@kubb/plugin-client": "5.0.0-alpha.20",
|
|
45
|
+
"@kubb/plugin-cypress": "5.0.0-alpha.20",
|
|
46
|
+
"@kubb/plugin-faker": "5.0.0-alpha.20",
|
|
47
|
+
"@kubb/plugin-mcp": "5.0.0-alpha.20",
|
|
48
|
+
"@kubb/plugin-msw": "5.0.0-alpha.20",
|
|
49
|
+
"@kubb/plugin-oas": "5.0.0-alpha.20",
|
|
50
|
+
"@kubb/plugin-react-query": "5.0.0-alpha.20",
|
|
51
|
+
"@kubb/plugin-redoc": "5.0.0-alpha.20",
|
|
52
|
+
"@kubb/plugin-solid-query": "5.0.0-alpha.20",
|
|
53
|
+
"@kubb/plugin-svelte-query": "5.0.0-alpha.20",
|
|
54
|
+
"@kubb/plugin-swr": "5.0.0-alpha.20",
|
|
55
|
+
"@kubb/plugin-ts": "5.0.0-alpha.20",
|
|
56
|
+
"@kubb/plugin-vue-query": "5.0.0-alpha.20",
|
|
57
|
+
"@kubb/plugin-zod": "5.0.0-alpha.20"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@types/ws": "^8.18.1",
|
|
61
|
-
"msw": "^2.12.
|
|
62
|
-
"nitropack": "^2.13.
|
|
61
|
+
"msw": "^2.12.14",
|
|
62
|
+
"nitropack": "^2.13.2",
|
|
63
63
|
"vite": "^7.3.1",
|
|
64
64
|
"@internals/utils": "0.0.0"
|
|
65
65
|
},
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import createWebSocketStream from './lib/stream.js';
|
|
2
|
-
import Receiver from './lib/receiver.js';
|
|
3
|
-
import Sender from './lib/sender.js';
|
|
4
|
-
import WebSocket from './lib/websocket.js';
|
|
5
|
-
import WebSocketServer from './lib/websocket-server.js';
|
|
6
|
-
|
|
7
|
-
export { createWebSocketStream, Receiver, Sender, WebSocket, WebSocketServer };
|
|
8
|
-
export default WebSocket;
|