Skip to content

Commit b030895

Browse files
authored
Release/0.4.1 (#32)
* Upgrades speakeasyVersion to 1.548.4 * Regenerated files from upgraded speakeasy generator * Updates CHANGELOG.md * Updates version in gen.yaml and instructions in contributor doc * Regenerates after updated gen.yaml version and fixes contributor doc
1 parent 8f298f9 commit b030895

File tree

213 files changed

+949
-374
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+949
-374
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
**/.speakeasy/temp/
2+
**/.speakeasy/logs/
13
.speakeasy/temp/
24
tests/e2e/local-plugins
35
.terraform

.speakeasy/gen.lock

Lines changed: 318 additions & 124 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
speakeasyVersion: 1.540.1
1+
speakeasyVersion: 1.548.4
22
sources: {}
33
targets:
44
terraform:
55
source: kong
66
workflow:
77
workflowVersion: 1.0.0
8-
speakeasyVersion: 1.540.1
8+
speakeasyVersion: 1.548.4
99
sources:
1010
kong:
1111
inputs:

.speakeasy/workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
workflowVersion: 1.0.0
2-
speakeasyVersion: 1.540.1
2+
speakeasyVersion: 1.548.4
33
sources:
44
kong:
55
inputs:

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## 0.5.0
4+
> Released on 2025/05/21
5+
6+
### Bug fixes
7+
8+
* Updates generator to capture fixes for mismatched attribute names
9+
310
## 0.4.0
411
> Released on 2025/05/21
512

CONTRIBUTING.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,14 @@ Assuming that your changes are working, raise a PR to `platform-api` for review
1717
## Contributing features
1818

1919
- Create a new release branch (if needed) named `release/x.y.z`, where `x.y.z` is the new version
20+
- Update the `terraform.version` key in the `gen.yaml` file to `x.y.z` and `git add gen.yaml`
2021
- Run `./tools/gen_beta_terraform.sh` on the `main` branch of `platform-api` to update the `openapi.yaml` file in this repo
2122
- Run `make speakeasy` to generate the provider (see [local generation](#local-generation))
2223
- Test your changes to ensure the provider still works
2324
- `git add openapi.yaml` and commit the changes as a single commit
2425
- `git add` and commit the provider's `.go` files, plus the `.speakeasy` and `docs` directory
25-
- Add examples for your new resources to `examples/resources` and commit them as a third commit
26-
- Finally, update `CHANGELOG.md` and add it as a fourth commit
26+
- Add examples for your new resources to `examples/resources`, `git add` them and make a third commit
27+
- Update `CHANGELOG.md` with descriptions of fixes and changes and `git add` for a fourth commit
2728
- Raise a PR against `release/x.y.z` for review
2829

2930
Submitting your changes as four commits is not a hard requirement, but it makes it easier to review the PR as four distinct sets of work:

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ terraform {
1717
required_providers {
1818
konnect-beta = {
1919
source = "kong/konnect-beta"
20-
version = "0.4.0"
20+
version = "0.4.1"
2121
}
2222
}
2323
}

docs/resources/api_document.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ Defaults to `slugify(title)`
6060
Import is supported using the following syntax:
6161

6262
```shell
63-
terraform import konnect_api_document.my_konnect_api_document "{ \"apiid\": \"9f5061ce-78f6-4452-9108-ad7c02821fd5\", \"id\": \"de5c9818-be5c-42e6-b514-e3d4bc30ddeb\"}"
63+
terraform import konnect_api_document.my_konnect_api_document "{ \"api_id\": \"9f5061ce-78f6-4452-9108-ad7c02821fd5\", \"id\": \"de5c9818-be5c-42e6-b514-e3d4bc30ddeb\"}"
6464
```

docs/resources/api_implementation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ Required:
5050
Import is supported using the following syntax:
5151

5252
```shell
53-
terraform import konnect_api_implementation.my_konnect_api_implementation "{ \"apiid\": \"9f5061ce-78f6-4452-9108-ad7c02821fd5\", \"id\": \"032d905a-ed33-46a3-a093-d8f536af9a8a\"}"
53+
terraform import konnect_api_implementation.my_konnect_api_implementation "{ \"api_id\": \"9f5061ce-78f6-4452-9108-ad7c02821fd5\", \"id\": \"032d905a-ed33-46a3-a093-d8f536af9a8a\"}"
5454
```

docs/resources/api_publication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ Default: "private"; must be one of ["public", "private"]
5555
Import is supported using the following syntax:
5656

5757
```shell
58-
terraform import konnect_api_publication.my_konnect_api_publication "{ \"apiid\": \"9f5061ce-78f6-4452-9108-ad7c02821fd5\", \"portal_id\": \"f32d905a-ed33-46a3-a093-d8f536af9a8a\"}"
58+
terraform import konnect_api_publication.my_konnect_api_publication "{ \"api_id\": \"9f5061ce-78f6-4452-9108-ad7c02821fd5\", \"portal_id\": \"f32d905a-ed33-46a3-a093-d8f536af9a8a\"}"
5959
```

0 commit comments

Comments
 (0)