Skip to content

feat: add OpenAPI 2.0.x experimental parser

Codecov / codecov/patch failed Jan 6, 2025 in 0s

18.75% of diff hit (target 63.35%)

View this Pull Request on Codecov

18.75% of diff hit (target 63.35%)

Annotations

Check warning on line 648 in packages/openapi-ts/src/compiler/types.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/compiler/types.ts#L647-L648

Added lines #L647 - L648 were not covered by tests

Check warning on line 652 in packages/openapi-ts/src/compiler/types.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/compiler/types.ts#L651-L652

Added lines #L651 - L652 were not covered by tests

Check warning on line 669 in packages/openapi-ts/src/compiler/types.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/compiler/types.ts#L661-L669

Added lines #L661 - L669 were not covered by tests

Check warning on line 712 in packages/openapi-ts/src/compiler/types.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/compiler/types.ts#L694-L712

Added lines #L694 - L712 were not covered by tests

Check warning on line 239 in packages/openapi-ts/src/openApi/2.0.x/parser/index.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/index.ts#L19-L239

Added lines #L19 - L239 were not covered by tests

Check warning on line 53 in packages/openapi-ts/src/openApi/2.0.x/parser/mediaType.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/mediaType.ts#L19-L53

Added lines #L19 - L53 were not covered by tests

Check warning on line 70 in packages/openapi-ts/src/openApi/2.0.x/parser/mediaType.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/mediaType.ts#L56-L70

Added lines #L56 - L70 were not covered by tests

Check warning on line 46 in packages/openapi-ts/src/openApi/2.0.x/parser/operation.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/operation.ts#L25-L46

Added lines #L25 - L46 were not covered by tests

Check warning on line 67 in packages/openapi-ts/src/openApi/2.0.x/parser/operation.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/operation.ts#L49-L67

Added lines #L49 - L67 were not covered by tests

Check warning on line 254 in packages/openapi-ts/src/openApi/2.0.x/parser/operation.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/operation.ts#L70-L254

Added lines #L70 - L254 were not covered by tests

Check warning on line 303 in packages/openapi-ts/src/openApi/2.0.x/parser/operation.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/operation.ts#L257-L303

Added lines #L257 - L303 were not covered by tests

Check warning on line 106 in packages/openapi-ts/src/openApi/2.0.x/parser/pagination.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/pagination.ts#L9-L106

Added lines #L9 - L106 were not covered by tests

Check warning on line 29 in packages/openapi-ts/src/openApi/2.0.x/parser/parameter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/parameter.ts#L17-L29

Added lines #L17 - L29 were not covered by tests

Check warning on line 45 in packages/openapi-ts/src/openApi/2.0.x/parser/parameter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/parameter.ts#L35-L45

Added lines #L35 - L45 were not covered by tests

Check warning on line 92 in packages/openapi-ts/src/openApi/2.0.x/parser/parameter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/parameter.ts#L48-L92

Added lines #L48 - L92 were not covered by tests

Check warning on line 158 in packages/openapi-ts/src/openApi/2.0.x/parser/parameter.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/parameter.ts#L95-L158

Added lines #L95 - L158 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/schema.ts#L13-L25

Added lines #L13 - L25 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/schema.ts#L28-L41

Added lines #L28 - L41 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/schema.ts#L44-L97

Added lines #L44 - L97 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/schema.ts#L100-L153

Added lines #L100 - L153 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/schema.ts#L156-L164

Added lines #L156 - L164 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/schema.ts#L167-L175

Added lines #L167 - L175 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/schema.ts#L178-L234

Added lines #L178 - L234 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/schema.ts#L237-L245

Added lines #L237 - L245 were not covered by tests

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

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/openapi-ts/src/openApi/2.0.x/parser/schema.ts#L248-L260

Added lines #L248 - L260 were not covered by tests