mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
removed node version 6 from travis
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
language: node_js
|
||||
node_js:
|
||||
- "6"
|
||||
- "7"
|
||||
- "8"
|
||||
- "9"
|
||||
- "node"
|
||||
- "lts/*"
|
||||
- "lts/*"
|
||||
|
||||
@@ -68,6 +68,7 @@ schemaFaker.option({
|
||||
* Safe wrapper for schemaFaker that resolves references and
|
||||
* removes things that might make schemaFaker crash
|
||||
* @param {*} oldSchema the schema to fake
|
||||
* @param {string} resolveTo tells to use example values or fake schema
|
||||
* @param {string} bodyTypeOption tells that the schema object is of request or response
|
||||
* @param {*} components list of predefined components (with schemas)
|
||||
* @param {string} schemaFormat default or xml
|
||||
@@ -806,6 +807,7 @@ module.exports = {
|
||||
/**
|
||||
* convert param with in='query' to string considering style and type
|
||||
* @param {*} param with in='query'
|
||||
* @param {string} requestType tells if this is example request or root request
|
||||
* @returns {array} converted queryparam
|
||||
*/
|
||||
convertToPmQueryParameters: function(param, requestType) {
|
||||
@@ -1009,6 +1011,7 @@ module.exports = {
|
||||
/**
|
||||
* converts params with in='header' to a Postman header object
|
||||
* @param {*} header param with in='header'
|
||||
* @param {string} requestType tells if this is example request or root request
|
||||
* @returns {Object} instance of a Postman SDK Header
|
||||
*/
|
||||
convertToPmHeader: function(header, requestType) {
|
||||
|
||||
@@ -25,7 +25,7 @@ describe('travis.yml', function () {
|
||||
describe('strucure', function () {
|
||||
it('language must be set to node', function () {
|
||||
expect(travisYAML.language).to.be('node_js');
|
||||
expect(travisYAML.node_js).to.eql(['6', '7', '8', '9', 'node', 'lts/*']);
|
||||
expect(travisYAML.node_js).to.eql(['7', '8', '9', 'node', 'lts/*']);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user