Skip to content

Commit 9c2c949

Browse files
Alan-ChaErikWittern
authored andcommitted
Removed scheme definitions
Removed unused script Signed-off-by: Alan Cha <[email protected]>
1 parent 8beba4e commit 9c2c949

File tree

8 files changed

+5
-22
lines changed

8 files changed

+5
-22
lines changed

packages/oasgraph-cli/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@
3939
"main": "lib/index.js",
4040
"scripts": {
4141
"dev": "tsc -w",
42-
"build": "tsc",
43-
"test": "npm run build && jest"
42+
"build": "tsc"
4443
},
4544
"dependencies": {
4645
"commander": "^2.19.0",

packages/oasgraph/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/oasgraph/lib/types/options.js

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

packages/oasgraph/lib/types/options.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/oasgraph/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
*/
3232

3333
// Type imports:
34-
import { Options, Report, Schemes } from './types/options'
34+
import { Options, Report } from './types/options'
3535
import { Oas3 } from './types/oas3'
3636
import { Oas2 } from './types/oas2'
3737
import { Args, Field } from './types/graphql'

packages/oasgraph/src/oas_3_tools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {
2828
SecurityRequirementObject
2929
} from './types/oas3.js'
3030
import { PreprocessingData } from './types/preprocessing_data'
31-
import { Options, Schemes } from './types/options'
31+
import { Options } from './types/options'
3232

3333
// Imports:
3434
import * as Swagger2OpenAPI from 'swagger2openapi'

packages/oasgraph/src/resolver_builder.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import { Oas3, SchemaObject } from './types/oas3'
1212
import { Operation } from './types/operation'
1313
import { ResolveFunction } from './types/graphql'
1414
import { PreprocessingData } from './types/preprocessing_data'
15-
import { Schemes } from './types/options'
1615

1716
// Imports:
1817
import * as request from 'request'

packages/oasgraph/src/types/options.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@ export type Report = {
2121
numMutationsCreated: number
2222
}
2323

24-
export enum Schemes {
25-
HTTP = "http",
26-
HTTPS = "https",
27-
WS = "ws",
28-
WSS = "wss",
29-
}
30-
31-
3224
export type Options = {
3325
/**
3426
* Adhere to the OAS as closely as possible. If set to true, any deviation

0 commit comments

Comments
 (0)