Skip to content

fix: zod plugin handles recursive schemas

Codecov / codecov/patch failed Dec 11, 2024 in 1s

7.36% of diff hit (target 64.08%)

View this Pull Request on Codecov

7.36% of diff hit (target 64.08%)

Annotations

Check warning on line 36 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L36

Added line #L36 was not covered by tests

Check warning on line 41 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L41

Added line #L41 was not covered by tests

Check warning on line 72 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L72

Added line #L72 was not covered by tests

Check warning on line 311 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L311

Added line #L311 was not covered by tests

Check warning on line 316 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L316

Added line #L316 was not covered by tests

Check warning on line 333 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L333

Added line #L333 was not covered by tests

Check warning on line 589 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L589

Added line #L589 was not covered by tests

Check warning on line 594 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L594

Added line #L594 was not covered by tests

Check warning on line 602 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L602

Added line #L602 was not covered by tests

Check warning on line 639 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L639

Added line #L639 was not covered by tests

Check warning on line 689 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L689

Added line #L689 was not covered by tests

Check warning on line 695 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L695

Added line #L695 was not covered by tests

Check warning on line 715 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L701-L715

Added lines #L701 - L715 were not covered by tests

Check warning on line 721 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L718-L721

Added lines #L718 - L721 were not covered by tests

Check warning on line 725 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L725

Added line #L725 was not covered by tests

Check warning on line 731 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L730-L731

Added lines #L730 - L731 were not covered by tests

Check warning on line 735 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L735

Added line #L735 was not covered by tests

Check warning on line 768 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L738-L768

Added lines #L738 - L768 were not covered by tests

Check warning on line 774 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L774

Added line #L774 was not covered by tests

Check warning on line 813 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L813

Added line #L813 was not covered by tests

Check warning on line 823 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L820-L823

Added lines #L820 - L823 were not covered by tests

Check warning on line 825 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L825

Added line #L825 was not covered by tests

Check warning on line 835 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L828-L835

Added lines #L828 - L835 were not covered by tests

Check warning on line 840 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L840

Added line #L840 was not covered by tests

Check warning on line 867 in packages/openapi-ts/src/plugins/zod/plugin.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/plugins/zod/plugin.ts#L863-L867

Added lines #L863 - L867 were not covered by tests