mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
changed the name of options to a similar pattern
This commit is contained in:
6
index.js
6
index.js
@@ -54,14 +54,14 @@ module.exports = {
|
||||
getOptions: function() {
|
||||
return [
|
||||
{
|
||||
name: 'Fake schema',
|
||||
name: 'Toggle for faking schema',
|
||||
id: 'schemaFaker',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'Fake the schema using json or xml schema faker'
|
||||
description: 'Option for Fake the schema using json or xml schema faker'
|
||||
},
|
||||
{
|
||||
name: 'Collapse folder for long routes',
|
||||
name: 'Toggle for collapsing folder for long routes',
|
||||
id: 'collapseLongFolders',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
|
||||
@@ -12,13 +12,13 @@ const optionIds = [
|
||||
],
|
||||
expectedOptions = {
|
||||
schemaFaker: {
|
||||
name: 'Fake schema',
|
||||
name: 'Toggle for faking schema',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'Fake the schema using json or xml schema faker'
|
||||
description: 'Option for Fake the schema using json or xml schema faker'
|
||||
},
|
||||
collapseLongFolders: {
|
||||
name: 'Collapse folder for long routes',
|
||||
name: 'Toggle for collapsing folder for long routes',
|
||||
type: 'boolean',
|
||||
default: true,
|
||||
description: 'Collapse folders in case of long routes leading to unnecessary folders'
|
||||
|
||||
Reference in New Issue
Block a user