这是indexloc提供的服务,不要输入任何密码
Skip to content

Running Copilot

Running Copilot #92

Triggered via dynamic November 7, 2025 22:03
Status Success
Total duration 22m 49s
Artifacts 1

copilot

on: dynamic
Fit to window
Zoom out
Zoom in

Annotations

6 errors
test/3.1.x.test.ts > OpenAPI 3.1.x > 'validator schemas with circular refer…': packages/openapi-ts-tests/main/test/3.1.x.test.ts#L1015
Error: Snapshot `OpenAPI 3.1.x > 'validator schemas with circular refer…' 2` mismatched - Expected + Received // This file is auto-generated by @hey-api/openapi-ts import * as v from 'valibot'; - export const vBar: v.GenericSchema = v.objectWithRest({ + export const vBar: v.GenericSchema = v.strictObject({ bar: v.union([ v.array(v.lazy(() => { return vBar; })), v.null() ]) - }, v.never()); + }); - export const vFoo = v.objectWithRest({ + export const vFoo = v.strictObject({ foo: vBar - }, v.never()); + }); ❯ test/3.1.x.test.ts:1015:9 ❯ test/3.1.x.test.ts:1012:5
test/plugins.test.ts > OpenAPI 3.1.x plugins > 'generate Valibot schemas with Valibot…': packages/openapi-ts-tests/main/test/plugins.test.ts#L575
Error: Snapshot `OpenAPI 3.1.x plugins > 'generate Valibot schemas with Valibot…' 1` mismatched - Expected + Received @@ -991,31 +991,31 @@ export const vAdditionalPropertiesIntegerIssue = v.objectWithRest({ value: v.pipe(v.number(), v.integer()) }, v.pipe(v.number(), v.integer())); - export const vGenericSchemaDuplicateIssue1SystemBoolean = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemBoolean = v.strictObject({ item: v.optional(v.boolean()), error: v.optional(v.union([ v.string(), v.null() ])), hasError: v.optional(v.pipe(v.boolean(), v.readonly())), - data: v.optional(v.record(v.string(), v.never())) - }, v.never()); + data: v.optional(v.strictObject({})) + }); - export const vGenericSchemaDuplicateIssue1SystemString = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemString = v.strictObject({ item: v.optional(v.union([ v.string(), v.null() ])), error: v.optional(v.union([ v.string(), v.null() ])), hasError: v.optional(v.pipe(v.boolean(), v.readonly())) - }, v.never()); + }); export const vOneOfAllOfIssue = v.union([ v.intersect([ v.union([ vConstValue, @@ -1119,43 +1119,43 @@ v3eNum1Период ]), vGenericSchemaDuplicateIssue1SystemString ]); - export const vGenericSchemaDuplicateIssue1SystemBooleanWritable = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemBooleanWritable = v.strictObject({ item: v.optional(v.boolean()), error: v.optional(v.union([ v.string(), v.null() ])), - data: v.optional(v.record(v.string(), v.never())) - }, v.never()); + data: v.optional(v.strictObject({})) + }); - export const vGenericSchemaDuplicateIssue1SystemStringWritable = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemStringWritable = v.strictObject({ item: v.optional(v.union([ v.string(), v.null() ])), error: v.optional(v.union([ v.string(), v.null() ])) - }, v.never()); + }); /** * This is a reusable parameter */ export const vSimpleParameter = v.string(); export const vCompositionWithOneOfAndProperties = v.intersect([ v.union([ - v.objectWithRest({ + v.strictObject({ foo: vSimpleParameter - }, v.never()), - v.objectWithRest({ + }), + v.strictObject({ bar: vNonAsciiStringæøåÆøÅöôêÊ字符串 - }, v.never()) + }) ]), v.object({ baz: v.union([ v.pipe(v.number(), v.integer(), v.minValue(0, 'Invalid value: Expected uint16 to be >= 0'), v.maxValue(65535, 'Invalid value: Expected uint16 to be <= 2^16-1'), v.minValue(0)), v.null() ❯ test/plugins.test.ts:575:11 ❯ test/plugins.test.ts:572:7
test/plugins.test.ts > OpenAPI 3.0.x plugins > 'generate Valibot schemas with Valibot…': packages/openapi-ts-tests/main/test/plugins.test.ts#L575
Error: Snapshot `OpenAPI 3.0.x plugins > 'generate Valibot schemas with Valibot…' 1` mismatched - Expected + Received @@ -993,31 +993,31 @@ export const vAdditionalPropertiesIntegerIssue = v.objectWithRest({ value: v.pipe(v.number(), v.integer()) }, v.pipe(v.number(), v.integer())); - export const vGenericSchemaDuplicateIssue1SystemBoolean = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemBoolean = v.strictObject({ item: v.optional(v.boolean()), error: v.optional(v.union([ v.string(), v.null() ])), hasError: v.optional(v.pipe(v.boolean(), v.readonly())), - data: v.optional(v.record(v.string(), v.never())) - }, v.never()); + data: v.optional(v.strictObject({})) + }); - export const vGenericSchemaDuplicateIssue1SystemString = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemString = v.strictObject({ item: v.optional(v.union([ v.string(), v.null() ])), error: v.optional(v.union([ v.string(), v.null() ])), hasError: v.optional(v.pipe(v.boolean(), v.readonly())) - }, v.never()); + }); export const vOneOfAllOfIssue = v.union([ v.intersect([ v.union([ vConstValue, @@ -1115,43 +1115,43 @@ v3eNum1Период ]), vGenericSchemaDuplicateIssue1SystemString ]); - export const vGenericSchemaDuplicateIssue1SystemBooleanWritable = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemBooleanWritable = v.strictObject({ item: v.optional(v.boolean()), error: v.optional(v.union([ v.string(), v.null() ])), - data: v.optional(v.record(v.string(), v.never())) - }, v.never()); + data: v.optional(v.strictObject({})) + }); - export const vGenericSchemaDuplicateIssue1SystemStringWritable = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemStringWritable = v.strictObject({ item: v.optional(v.union([ v.string(), v.null() ])), error: v.optional(v.union([ v.string(), v.null() ])) - }, v.never()); + }); /** * This is a reusable parameter */ export const vSimpleParameter = v.string(); export const vCompositionWithOneOfAndProperties = v.intersect([ v.union([ - v.objectWithRest({ + v.strictObject({ foo: vSimpleParameter - }, v.never()), - v.objectWithRest({ + }), + v.strictObject({ bar: vNonAsciiStringæøåÆøÅöôêÊ字符串 - }, v.never()) + }) ]), v.object({ baz: v.union([ v.pipe(v.number(), v.integer(), v.minValue(0, 'Invalid value: Expected uint16 to be >= 0'), v.maxValue(65535, 'Invalid value: Expected uint16 to be <= 2^16-1'), v.minValue(0)), v.null() ❯ test/plugins.test.ts:575:11 ❯ test/plugins.test.ts:572:7
test/plugins.test.ts > OpenAPI 3.1.x plugins > 'generate Valibot schemas with Valibot…': packages/openapi-ts-tests/main/test/plugins.test.ts#L575
Error: Snapshot `OpenAPI 3.1.x plugins > 'generate Valibot schemas with Valibot…' 1` mismatched - Expected + Received @@ -991,31 +991,31 @@ export const vAdditionalPropertiesIntegerIssue = v.objectWithRest({ value: v.pipe(v.number(), v.integer()) }, v.pipe(v.number(), v.integer())); - export const vGenericSchemaDuplicateIssue1SystemBoolean = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemBoolean = v.strictObject({ item: v.optional(v.boolean()), error: v.optional(v.union([ v.string(), v.null() ])), hasError: v.optional(v.pipe(v.boolean(), v.readonly())), - data: v.optional(v.record(v.string(), v.never())) - }, v.never()); + data: v.optional(v.strictObject({})) + }); - export const vGenericSchemaDuplicateIssue1SystemString = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemString = v.strictObject({ item: v.optional(v.union([ v.string(), v.null() ])), error: v.optional(v.union([ v.string(), v.null() ])), hasError: v.optional(v.pipe(v.boolean(), v.readonly())) - }, v.never()); + }); export const vOneOfAllOfIssue = v.union([ v.intersect([ v.union([ vConstValue, @@ -1119,43 +1119,43 @@ v3eNum1Период ]), vGenericSchemaDuplicateIssue1SystemString ]); - export const vGenericSchemaDuplicateIssue1SystemBooleanWritable = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemBooleanWritable = v.strictObject({ item: v.optional(v.boolean()), error: v.optional(v.union([ v.string(), v.null() ])), - data: v.optional(v.record(v.string(), v.never())) - }, v.never()); + data: v.optional(v.strictObject({})) + }); - export const vGenericSchemaDuplicateIssue1SystemStringWritable = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemStringWritable = v.strictObject({ item: v.optional(v.union([ v.string(), v.null() ])), error: v.optional(v.union([ v.string(), v.null() ])) - }, v.never()); + }); /** * This is a reusable parameter */ export const vSimpleParameter = v.string(); export const vCompositionWithOneOfAndProperties = v.intersect([ v.union([ - v.objectWithRest({ + v.strictObject({ foo: vSimpleParameter - }, v.never()), - v.objectWithRest({ + }), + v.strictObject({ bar: vNonAsciiStringæøåÆøÅöôêÊ字符串 - }, v.never()) + }) ]), v.object({ baz: v.union([ v.pipe(v.number(), v.integer(), v.minValue(0, 'Invalid value: Expected uint16 to be >= 0'), v.maxValue(65535, 'Invalid value: Expected uint16 to be <= 2^16-1'), v.minValue(0)), v.null() ❯ test/plugins.test.ts:575:11 ❯ test/plugins.test.ts:572:7
test/plugins.test.ts > OpenAPI 3.0.x plugins > 'generate Valibot schemas with Valibot…': packages/openapi-ts-tests/main/test/plugins.test.ts#L575
Error: Snapshot `OpenAPI 3.0.x plugins > 'generate Valibot schemas with Valibot…' 1` mismatched - Expected + Received @@ -993,31 +993,31 @@ export const vAdditionalPropertiesIntegerIssue = v.objectWithRest({ value: v.pipe(v.number(), v.integer()) }, v.pipe(v.number(), v.integer())); - export const vGenericSchemaDuplicateIssue1SystemBoolean = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemBoolean = v.strictObject({ item: v.optional(v.boolean()), error: v.optional(v.union([ v.string(), v.null() ])), hasError: v.optional(v.pipe(v.boolean(), v.readonly())), - data: v.optional(v.record(v.string(), v.never())) - }, v.never()); + data: v.optional(v.strictObject({})) + }); - export const vGenericSchemaDuplicateIssue1SystemString = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemString = v.strictObject({ item: v.optional(v.union([ v.string(), v.null() ])), error: v.optional(v.union([ v.string(), v.null() ])), hasError: v.optional(v.pipe(v.boolean(), v.readonly())) - }, v.never()); + }); export const vOneOfAllOfIssue = v.union([ v.intersect([ v.union([ vConstValue, @@ -1115,43 +1115,43 @@ v3eNum1Период ]), vGenericSchemaDuplicateIssue1SystemString ]); - export const vGenericSchemaDuplicateIssue1SystemBooleanWritable = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemBooleanWritable = v.strictObject({ item: v.optional(v.boolean()), error: v.optional(v.union([ v.string(), v.null() ])), - data: v.optional(v.record(v.string(), v.never())) - }, v.never()); + data: v.optional(v.strictObject({})) + }); - export const vGenericSchemaDuplicateIssue1SystemStringWritable = v.objectWithRest({ + export const vGenericSchemaDuplicateIssue1SystemStringWritable = v.strictObject({ item: v.optional(v.union([ v.string(), v.null() ])), error: v.optional(v.union([ v.string(), v.null() ])) - }, v.never()); + }); /** * This is a reusable parameter */ export const vSimpleParameter = v.string(); export const vCompositionWithOneOfAndProperties = v.intersect([ v.union([ - v.objectWithRest({ + v.strictObject({ foo: vSimpleParameter - }, v.never()), - v.objectWithRest({ + }), + v.strictObject({ bar: vNonAsciiStringæøåÆøÅöôêÊ字符串 - }, v.never()) + }) ]), v.object({ baz: v.union([ v.pipe(v.number(), v.integer(), v.minValue(0, 'Invalid value: Expected uint16 to be >= 0'), v.maxValue(65535, 'Invalid value: Expected uint16 to be <= 2^16-1'), v.minValue(0)), v.null() ❯ test/plugins.test.ts:575:11 ❯ test/plugins.test.ts:572:7

Artifacts

Produced during runtime
Name Size Digest
results
2.89 KB
sha256:08b69f34acc48e6d3c2a5661455cc59522d6c1accfb6f0156e0779edc3cd4dcc