Skip to content

Commit 5427eb1

Browse files
Alan-ChaErikWittern
authored andcommitted
Add tests
Signed-off-by: Alan Cha <[email protected]>
1 parent aa3e0ea commit 5427eb1

File tree

11 files changed

+1138
-422
lines changed

11 files changed

+1138
-422
lines changed

packages/openapi-to-graphql/lib/preprocessor.js

Lines changed: 201 additions & 175 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openapi-to-graphql/lib/preprocessor.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openapi-to-graphql/lib/types/operation.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export declare type DataDefinition = {
1111
/**
1212
* Similar to the required property in object schemas but because of certain
1313
* keywords to combine schemas, e.g. "allOf", this resolves the required
14-
* property in all subschemas
14+
* property in all member schemas
1515
*/
1616
required: string[];
1717
targetGraphQLType: string;

packages/openapi-to-graphql/lib/utils.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export declare const mitigations: {
2020
COMBINE_SCHEMAS: string;
2121
UNKNOWN_TARGET_TYPE: string;
2222
MISSING_SCHEMA: string;
23+
UNRESOLVABLE_SCHEMA: string;
2324
UNRESOLVABLE_LINK: string;
2425
AMBIGUOUS_LINK: string;
2526
LINK_NAME_COLLISION: string;

packages/openapi-to-graphql/lib/utils.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/openapi-to-graphql/lib/utils.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)