Skip to content

fix: handle nullable enums in experimental parser

Codecov / codecov/patch succeeded Nov 8, 2024 in 0s

No report found to compare against

View this Pull Request on Codecov

No report found to compare against

Annotations

Check warning on line 411 in packages/openapi-ts/src/openApi/3.0.x/parser/schema.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/3.0.x/parser/schema.ts#L410-L411

Added lines #L410 - L411 were not covered by tests

Check warning on line 422 in packages/openapi-ts/src/openApi/3.0.x/parser/schema.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/3.0.x/parser/schema.ts#L417-L422

Added lines #L417 - L422 were not covered by tests

Check warning on line 443 in packages/openapi-ts/src/openApi/3.0.x/parser/schema.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/3.0.x/parser/schema.ts#L431-L443

Added lines #L431 - L443 were not covered by tests

Check warning on line 453 in packages/openapi-ts/src/openApi/3.0.x/parser/schema.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/3.0.x/parser/schema.ts#L445-L453

Added lines #L445 - L453 were not covered by tests

Check warning on line 462 in packages/openapi-ts/src/openApi/3.1.x/parser/schema.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/3.1.x/parser/schema.ts#L459-L462

Added lines #L459 - L462 were not covered by tests

Check warning on line 473 in packages/openapi-ts/src/openApi/3.1.x/parser/schema.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/3.1.x/parser/schema.ts#L472-L473

Added lines #L472 - L473 were not covered by tests

Check warning on line 98 in packages/openapi-ts/src/openApi/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/index.ts#L98

Added line #L98 was not covered by tests