Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/quick.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Ensure you've built SwaggerJS
const Swagger = require('../dist')
const jsYaml = require('js-yaml')
const jsYaml = require('@kyleshockey/js-yaml')

/**
* This is a file, for quickly testing out functionality of SwaggerJS
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
"xmock": "^0.3.0"
},
"dependencies": {
"@kyleshockey/js-yaml": "^1.0.1",
"@kyleshockey/object-assign-deep": "^0.4.0",
"babel-runtime": "^6.26.0",
"btoa": "1.1.2",
Expand All @@ -85,7 +86,6 @@
"fast-json-patch": "^2.0.6",
"is-generator-fn": "^1.0.0",
"isomorphic-form-data": "0.0.1",
"js-yaml": "^3.8.1",
"lodash": "^4.16.2",
"qs": "^6.3.0",
"querystring-browser": "^1.0.4",
Expand Down
2 changes: 1 addition & 1 deletion src/http.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'cross-fetch/polyfill' /* global fetch */
import qs from 'qs'
import jsYaml from 'js-yaml'
import jsYaml from '@kyleshockey/js-yaml'
import isString from 'lodash/isString'

// For testing
Expand Down
2 changes: 1 addition & 1 deletion src/specmap/lib/refs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {fetch} from 'cross-fetch'
import jsYaml from 'js-yaml'
import jsYaml from '@kyleshockey/js-yaml'
import qs from 'querystring-browser'
import url from 'url'
import lib from '../lib'
Expand Down
2 changes: 1 addition & 1 deletion test/oas3/execute/authorization.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import xmock from 'xmock'
import path from 'path'
import fs from 'fs'
import btoa from 'btoa'
import jsYaml from 'js-yaml'
import jsYaml from '@kyleshockey/js-yaml'

import {execute, buildRequest, baseUrl, applySecurities, self as stubs} from '../../../src/execute'

Expand Down
2 changes: 1 addition & 1 deletion test/oas3/execute/main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import xmock from 'xmock'
import path from 'path'
import fs from 'fs'
import jsYaml from 'js-yaml'
import jsYaml from '@kyleshockey/js-yaml'

import {execute, buildRequest, baseUrl, applySecurities, self as stubs} from '../../../src/execute'

Expand Down
2 changes: 1 addition & 1 deletion test/oas3/execute/style-explode/cookie.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import xmock from 'xmock'
import path from 'path'
import fs from 'fs'
import qs from 'querystring'
import jsYaml from 'js-yaml'
import jsYaml from '@kyleshockey/js-yaml'

import {execute, buildRequest, baseUrl, applySecurities, self as stubs} from '../../../../src/execute'

Expand Down
2 changes: 1 addition & 1 deletion test/oas3/execute/style-explode/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import xmock from 'xmock'
import path from 'path'
import fs from 'fs'
import qs from 'querystring'
import jsYaml from 'js-yaml'
import jsYaml from '@kyleshockey/js-yaml'

import {execute, buildRequest, baseUrl, applySecurities, self as stubs} from '../../../../src/execute'

Expand Down
2 changes: 1 addition & 1 deletion test/oas3/execute/style-explode/path.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import xmock from 'xmock'
import path from 'path'
import fs from 'fs'
import qs from 'querystring'
import jsYaml from 'js-yaml'
import jsYaml from '@kyleshockey/js-yaml'
import {execute, buildRequest, baseUrl, applySecurities, self as stubs} from '../../../../src/execute'

const petstoreSpec = jsYaml.safeLoad(fs.readFileSync(path.join('test', 'oas3', 'data', 'petstore-oas3.yaml'), 'utf8'))
Expand Down
2 changes: 1 addition & 1 deletion test/oas3/execute/style-explode/query.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import xmock from 'xmock'
import path from 'path'
import fs from 'fs'
import qs from 'querystring'
import jsYaml from 'js-yaml'
import jsYaml from '@kyleshockey/js-yaml'
import {execute, buildRequest, baseUrl, applySecurities, self as stubs} from '../../../../src/execute'

const petstoreSpec = jsYaml.safeLoad(fs.readFileSync(path.join('test', 'oas3', 'data', 'petstore-oas3.yaml'), 'utf8'))
Expand Down
2 changes: 1 addition & 1 deletion test/resolver.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import xmock from 'xmock'
import path from 'path'
import fs from 'fs'
import jsYaml from 'js-yaml'
import jsYaml from '@kyleshockey/js-yaml'

import Swagger from '../src'

Expand Down