Skip to content

Does turning schemaFaker=false do anything ? #842

@Zino-ctrlZ

Description

@Zino-ctrlZ

I'm using the cli to convert a json swagger v2 file to postman collection by running

openapi2postmanv2 -s specData.json -o collection.json -p -O schemaFaker=false;    

yet I still get errors that look like this

Error faking a schema. Not faking this schema. Schema: {
  type: 'object',
  properties: {
    message: { type: 'string', default: '<string>' },
    code: { type: 'string', default: '<string>' },
    status: { type: 'integer', default: '<integer>' },
    entityId: { type: 'string', default: '<string>' },
    entityName: { type: 'string', default: '<string>' },
    messageWithParams: { type: 'string', default: '<string>' },
    messageParams: { type: 'object', additionalProperties: [Object], properties: {} },
    contextId: { type: 'string', default: '<string>' },
    details: { type: 'array', items: [Object] },
    errors: { type: 'array', items: '[Circular]' },
    limit: { type: 'object', properties: [Object] }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions