Skip to content

Feedback: change interface to configuration basePath property #40

@minond

Description

@minond

Rather than having a client pass use the URL to the API (or environment) they want to use, what if we exposed a production key in the Configuration which switch between int and prod:

// This
const apiConfig = new Configuration({
  production: false
})

// Instead of this:
const apiConfig = new Configuration({
  basePath: "https://int-api.mx.com",
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions