Skip to content

Add support for authentication methods defined in OpenAPI schema #9

@DefCon-007

Description

@DefCon-007

OpenAPI specifications can contain information on how to authenticate with the API. We should add support for helping users out with authenticating using those methods.
E.g.

const anonymousClient = createMyApiClient("")
const authClient = createMyApiClient("", {
  authentication: {
    type: "basic",
    username: "johnny99",
    password: "bruuuuce"
  }
})

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