const enums = { apiKeyInType: ['query', 'header'], collectionFormatType: ['csv', 'ssv', 'tsv', 'pipes'], formatType: ['binary', 'byte', 'date', 'date-time', 'double', 'float', 'int32', 'int64', 'password'], itemsType: ['string', 'number', 'integer', 'boolean', 'array'], parameterInType: ['query', 'header', 'path', 'formData', 'body'], securitySchemeType: ['basic', 'apiKey', 'oauth2'], }; export default class ApibuilderSwaggerClient { constructor(opts) { let options = opts; if (typeof opts === 'string') { options = { host: opts }; // convert host string to options object } this.enums = enums; } }