This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@solace-labs/ep-openapi-browser
TypeScript icon, indicating that this package has built-in type declarations

2.0.5-build.1 • Public • Published

OpenAPI Browser Client for Solace Event Portal

Generated Typescript Open API Client for Solace Event Portal.

Based on OpenAPI Typescript Codegen.

Version: 0.19.0

Install

npm install @solace-labs/ep-openapi-browser

Usage

Configure OpenAPI object:

import { OpenAPI } from "@solace-labs/ep-openapi-browser";

// to use a different base url than specified in the spec:
OpenAPI.BASE = "{base-url}";
OpenAPI.WITH_CREDENTIALS = true;
OpenAPI.CREDENTIALS = "include";
OpenAPI.TOKEN = "{token}";

Example: Create an Application Domain:

import {
  ApplicationDomainResponse,
  ApplicationDomainsService,
} from "@solace-labs/ep-openapi-browser";

const applicationDomainResponse: ApplicationDomainResponse =
  await ApplicationDomainsService.createApplicationDomain({
    requestBody: {
      name: "my-application-domain",
    },
  });

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @solace-labs/ep-openapi-browser

      Weekly Downloads

      1

      Version

      2.0.5-build.1

      License

      MIT

      Unpacked Size

      639 kB

      Total Files

      516

      Last publish

      Collaborators

      • ricardojosegomezulmke
      • solacecommunity
      • tamimi65