@@ -4,14 +4,14 @@ import path from 'path'
44import fs from 'fs'
55import jsYaml from 'js-yaml'
66
7- import { execute , buildRequest , baseUrl , applySecurities , self as stubs } from '../../src/execute'
7+ import { execute , buildRequest , baseUrl , applySecurities , self as stubs } from '../../../ src/execute'
88
99const petstoreSpec = jsYaml . safeLoad ( fs . readFileSync ( path . join ( 'test' , 'oas3' , 'data' , 'petstore-oas3.yaml' ) , 'utf8' ) )
1010
1111// Supported shape... { spec, operationId, parameters, securities, fetch }
1212// One can use operationId or pathItem + method
1313
14- describe . only ( 'buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0' , function ( ) {
14+ describe . skip ( 'buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0' , function ( ) {
1515 describe ( 'path parameters' , function ( ) {
1616 describe ( 'primitive values' , function ( ) {
1717 it ( 'default: should build a path parameter in a simple/no-explode format' , function ( ) {
@@ -1490,7 +1490,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
14901490 url : '/users' ,
14911491 credentials : 'same-origin' ,
14921492 headers : {
1493- 'X-MyHeader' : " 3,4,5"
1493+ 'X-MyHeader' : ' 3,4,5'
14941494 } ,
14951495 } )
14961496 } )
@@ -1530,7 +1530,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
15301530 url : '/users' ,
15311531 credentials : 'same-origin' ,
15321532 headers : {
1533- 'X-MyHeader' : " 3,4,5"
1533+ 'X-MyHeader' : ' 3,4,5'
15341534 } ,
15351535 } )
15361536 } )
@@ -1570,7 +1570,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
15701570 url : '/users' ,
15711571 credentials : 'same-origin' ,
15721572 headers : {
1573- 'X-MyHeader' : " 3,4,5"
1573+ 'X-MyHeader' : ' 3,4,5'
15741574 } ,
15751575 } )
15761576 } )
@@ -1737,7 +1737,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
17371737 url : '/users' ,
17381738 credentials : 'same-origin' ,
17391739 headers : {
1740- ' Cookie' : 'id=5'
1740+ Cookie : 'id=5'
17411741 } ,
17421742 } )
17431743 } )
@@ -1777,7 +1777,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
17771777 url : '/users' ,
17781778 credentials : 'same-origin' ,
17791779 headers : {
1780- ' Cookie' : 'id=5'
1780+ Cookie : 'id=5'
17811781 } ,
17821782 } )
17831783 } )
@@ -1817,7 +1817,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
18171817 url : '/users' ,
18181818 credentials : 'same-origin' ,
18191819 headers : {
1820- ' Cookie' : 'id=5'
1820+ Cookie : 'id=5'
18211821 } ,
18221822 } )
18231823 } )
@@ -1858,7 +1858,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
18581858 url : '/users' ,
18591859 credentials : 'same-origin' ,
18601860 headers : {
1861- ' Cookie' : 'id=3,4,5'
1861+ Cookie : 'id=3,4,5'
18621862 } ,
18631863 } )
18641864 } )
@@ -1898,7 +1898,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
18981898 url : '/users' ,
18991899 credentials : 'same-origin' ,
19001900 headers : {
1901- ' Cookie' : 'id=3,4,5'
1901+ Cookie : 'id=3,4,5'
19021902 } ,
19031903 } )
19041904 } )
@@ -1938,7 +1938,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
19381938 url : '/users' ,
19391939 credentials : 'same-origin' ,
19401940 headers : {
1941- ' Cookie' : 'id=3&id=4&id=5'
1941+ Cookie : 'id=3&id=4&id=5'
19421942 } ,
19431943 } )
19441944 } )
@@ -1982,7 +1982,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
19821982 url : '/users' ,
19831983 credentials : 'same-origin' ,
19841984 headers : {
1985- ' Cookie' : 'id=role,admin,firstName,Alex'
1985+ Cookie : 'id=role,admin,firstName,Alex'
19861986 } ,
19871987 } )
19881988 } )
@@ -2022,7 +2022,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
20222022 url : '/users' ,
20232023 credentials : 'same-origin' ,
20242024 headers : {
2025- ' Cookie' : 'id=role,admin,firstName,Alex'
2025+ Cookie : 'id=role,admin,firstName,Alex'
20262026 } ,
20272027 } )
20282028 } )
@@ -2062,7 +2062,7 @@ describe.only('buildRequest w/ `style` & `explode` - OpenAPI Specification 3.0',
20622062 url : '/users' ,
20632063 credentials : 'same-origin' ,
20642064 headers : {
2065- ' Cookie' : 'role=admin&firstName=Alex'
2065+ Cookie : 'role=admin&firstName=Alex'
20662066 } ,
20672067 } )
20682068 } )
0 commit comments