Skip to content

Commit af891b9

Browse files
committed
Add test
Signed-off-by: Alan Cha <Alan.cha1@ibm.com>
1 parent 82d7bbe commit af891b9

File tree

10 files changed

+286
-307
lines changed

10 files changed

+286
-307
lines changed

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

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

packages/openapi-to-graphql/lib/oas_3_tools.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/resolver_builder.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/options.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export declare type InternalOptions<TSource, TContext, TArgs> = {
138138
* the operation path than the response object by leveraging common
139139
* conventions.
140140
*
141-
* For example, given the operation 'GET /users/{userId}/car', OpenAPI-to-GraphQL will
141+
* For example, given the operation GET /users/{userId}/car, OpenAPI-to-GraphQL will
142142
* create a Query field 'userCar'. Note that because 'users' is followed by
143143
* the parameter 'userId', it insinuates that this operation will get the car
144144
* that belongs to a singular user. Hence, the name 'userCar' is more fitting

0 commit comments

Comments
 (0)