Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 1.0.0, Speakeasy CLI 1.180.0
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Feb 15, 2024
1 parent 2c89d03 commit c9116c2
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ management:
docChecksum: 354db46ad7c46031799521bd155482f1
docVersion: 1.0.0
speakeasyVersion: internal
generationVersion: 2.253.0
releaseVersion: 0.1.3
configChecksum: f3443c9ff1a7a0ab9b1e75d409feb751
generationVersion: 2.258.0
releaseVersion: 0.1.4
configChecksum: 0a09ed2158bb08e3a5d6b66ceeff3034
repoURL: https://github.com/unkeyed/speakeasy.git
repoSubDirectory: .
installationURL: https://github.com/unkeyed/speakeasy
features:
typescript:
constsAndDefaults: 0.1.3
core: 3.4.9
core: 3.4.10
flattening: 2.81.1
globalSecurity: 2.82.2
globalServerURLs: 2.82.3
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ generation:
parameterOrderingFeb2024: false
requestResponseComponentNamesFeb2024: false
typescript:
version: 0.1.3
version: 0.1.4
author: Speakeasy
clientServerStatusCodesAsErrors: true
flattenGlobalSecurity: true
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ Example

```typescript
import { SDK } from "openapi";
import * as errors from "openapi/models/errors";

async function run() {
const sdk = new SDK({
Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,12 @@ Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.178.0 (2.253.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.1.3] .
- [typescript v0.1.3] .

## 2024-02-15 00:27:43
### Changes
Based on:
- OpenAPI Doc 1.0.0
- Speakeasy CLI 1.180.0 (2.258.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.1.4] .
10 changes: 5 additions & 5 deletions docs/sdks/sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ async function run() {
name: "Customer X",
ownerId: "user_123",
meta: {
"roles": "string",
"roles": "<value>",
"stripeCustomerId": "cus_1234",
},
expires: 0,
Expand Down Expand Up @@ -621,8 +621,8 @@ async function run() {

const apiId = "api_1234";
const limit = 100;
const cursor = "string";
const ownerId = "string";
const cursor = "<value>";
const ownerId = "<value>";

const result = await sdk.getV1ApisListKeys(apiId, limit, cursor, ownerId);

Expand Down Expand Up @@ -727,7 +727,7 @@ async function run() {
name: "Customer X",
ownerId: "user_123",
meta: {
"roles": "string",
"roles": "<value>",
"stripeCustomerId": "cus_1234",
},
expires: 0,
Expand Down Expand Up @@ -1138,7 +1138,7 @@ async function run() {
const apiId = "api_1234";
const limit = 100;
const offset = 2757.36;
const ownerId = "string";
const ownerId = "<value>";

const result = await sdk.getV1ApisApiIdKeys(apiId, limit, offset, ownerId);

Expand Down
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "commonjs",
"name": "openapi",
"version": "0.1.3",
"version": "0.1.4",
"author": "Speakeasy",
"main": "./index.js",
"sideEffects": false,
Expand Down
8 changes: 4 additions & 4 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
*/

import { HTTPClient } from "./http";
import { pathToFunc } from "./url";
import { RetryConfig } from "./retries";
import { pathToFunc } from "./url";

/**
* Contains the list of servers available to the SDK
Expand Down Expand Up @@ -51,7 +51,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = Object.freeze({
language: "typescript",
openapiDocVersion: "1.0.0",
sdkVersion: "0.1.3",
genVersion: "2.253.0",
userAgent: "speakeasy-sdk/typescript 0.1.3 2.253.0 1.0.0 openapi",
sdkVersion: "0.1.4",
genVersion: "2.258.0",
userAgent: "speakeasy-sdk/typescript 0.1.4 2.258.0 1.0.0 openapi",
});
1 change: 1 addition & 0 deletions src/sdk/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class SDK extends ClientSDK {
this.options$ = options;
void this.options$;
}

async getV1Liveness(options?: RequestOptions): Promise<operations.GetV1LivenessResponse> {
const headers$ = new Headers();
headers$.set("user-agent", SDK_METADATA.userAgent);
Expand Down

0 comments on commit c9116c2

Please sign in to comment.