Skip to content

Commit 57217b0

Browse files
authored
chore: update Stainless domain to stainless.com (#58)
1 parent 66b39f8 commit 57217b0

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ stainless-api/upload-openapi-spec
77
[![lint](https://github.com/stainless-api/upload-openapi-spec-action/actions/workflows/lint.yml/badge.svg)](https://github.com/stainless-api/upload-openapi-spec-action/actions/workflows/lint.yml)
88
[![build](https://github.com/stainless-api/upload-openapi-spec-action/actions/workflows/build.yml/badge.svg)](https://github.com/stainless-apiupload-openapi-spec-action/actions/workflows/build.yml)
99

10-
A GitHub Action for pushing your OpenAPI spec to [Stainless](https://stainlessapi.com/) to trigger regeneration of your SDKs.
10+
A GitHub Action for pushing your OpenAPI spec to [Stainless](https://stainless.com/) to trigger regeneration of your SDKs.
1111

1212
Note that there is currently a manual step in between this action and automatic creation of your PR's,
1313
and more manual steps before they are merged and released.
@@ -50,12 +50,12 @@ jobs:
5050
5151
You can optionally add `config_path: 'path/to/my-company.stainless.yaml'` to the `with:` block if you'd like to send us updates to your Stainless config.
5252

53-
You can identify your Stainless project name on the [Stainless dashboard](https://app.stainlessapi.com/).
53+
You can identify your Stainless project name on the [Stainless dashboard](https://app.stainless.com/).
5454

5555
### Optional parameters
5656

5757
- `branch`: Specifies the branch to push files to. If you provide it, the project MUST have the [branches
58-
feature](https://app.stainlessapi.com/docs/guides/branches) enabled. By default, it is `main`.
58+
feature](https://app.stainless.com/docs/guides/branches) enabled. By default, it is `main`.
5959

6060
- `commit_message`: Specifies the commit message that we will use for the commits generated for your SDKs as a result
6161
of the API change (and which will subsequently appear in the Changelog). If you provide it, it MUST follow the

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31773,7 +31773,7 @@ function uploadSpecAndConfig(specPath, configPath, token, projectName, commitMes
3177331773
if (branch) {
3177431774
formData.set('branch', branch);
3177531775
}
31776-
const response = yield (0, node_fetch_1.default)('https://api.stainlessapi.com/api/spec', {
31776+
const response = yield (0, node_fetch_1.default)('https://api.stainless.com/api/spec', {
3177731777
method: 'POST',
3177831778
body: formData,
3177931779
headers: {

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ async function uploadSpecAndConfig(
9494
formData.set('branch', branch);
9595
}
9696

97-
const response = await fetch('https://api.stainlessapi.com/api/spec', {
97+
const response = await fetch('https://api.stainless.com/api/spec', {
9898
method: 'POST',
9999
body: formData,
100100
headers: {

0 commit comments

Comments
 (0)