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() {
|
getOptions: function() {
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
name: 'Fake schema',
|
name: 'Toggle for faking schema',
|
||||||
id: 'schemaFaker',
|
id: 'schemaFaker',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: true,
|
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',
|
id: 'collapseLongFolders',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: true,
|
default: true,
|
||||||
|
|||||||
@@ -12,13 +12,13 @@ const optionIds = [
|
|||||||
],
|
],
|
||||||
expectedOptions = {
|
expectedOptions = {
|
||||||
schemaFaker: {
|
schemaFaker: {
|
||||||
name: 'Fake schema',
|
name: 'Toggle for faking schema',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: true,
|
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: {
|
collapseLongFolders: {
|
||||||
name: 'Collapse folder for long routes',
|
name: 'Toggle for collapsing folder for long routes',
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default: true,
|
default: true,
|
||||||
description: 'Collapse folders in case of long routes leading to unnecessary folders'
|
description: 'Collapse folders in case of long routes leading to unnecessary folders'
|
||||||
|
|||||||
Reference in New Issue
Block a user