Skip to content

Commit

Permalink
chore: speakeasy sdk regeneration - Generate (#19)
Browse files Browse the repository at this point in the history
* ci: regenerated with OpenAPI Doc v1, Speakeay CLI 1.65.0

* ci: regenerated with OpenAPI Doc v1, Speakeay CLI 1.65.1

* ci: regenerated with OpenAPI Doc v1, Speakeay CLI 1.65.1

* regenerate docs

* ci: regenerated with OpenAPI Doc v1, Speakeay CLI 1.65.2

---------

Co-authored-by: speakeasybot <[email protected]>
Co-authored-by: Chris Dinh <[email protected]>
  • Loading branch information
3 people authored Jul 28, 2023
1 parent 9e33d86 commit f58b041
Show file tree
Hide file tree
Showing 31 changed files with 317 additions and 113 deletions.
26 changes: 25 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,28 @@ Based on:
### Changes
Based on:
- OpenAPI Doc v1
- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy
- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy

## 2023-07-26 00:04:10
### Changes
Based on:
- OpenAPI Doc v1
- Speakeasy CLI 1.65.0 (2.73.0) https://github.com/speakeasy-api/speakeasy

## 2023-07-27 00:04:06
### Changes
Based on:
- OpenAPI Doc v1
- Speakeasy CLI 1.65.1 (2.73.1) https://github.com/speakeasy-api/speakeasy

## 2023-07-27 04:31:21
### Changes
Based on:
- OpenAPI Doc v1
- Speakeasy CLI 1.65.1 (2.73.1) https://github.com/speakeasy-api/speakeasy

## 2023-07-28 00:03:45
### Changes
Based on:
- OpenAPI Doc v1
- Speakeasy CLI 1.65.2 (2.75.1) https://github.com/speakeasy-api/speakeasy
9 changes: 4 additions & 5 deletions docs/resources/grant_kit.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,19 +72,16 @@ Optional:
<a id="nestedatt--workflow"></a>
### Nested Schema for `workflow`

Required:
Optional:

- `steps` (Attributes List) (see [below for nested schema](#nestedatt--workflow--steps))

<a id="nestedatt--workflow--steps"></a>
### Nested Schema for `workflow.steps`

Required:

- `reviewers` (Attributes) (see [below for nested schema](#nestedatt--workflow--steps--reviewers))

Optional:

- `reviewers` (Attributes) (see [below for nested schema](#nestedatt--workflow--steps--reviewers))
- `skip_if` (Attributes List) (see [below for nested schema](#nestedatt--workflow--steps--skip_if))

<a id="nestedatt--workflow--steps--reviewers"></a>
Expand Down Expand Up @@ -134,6 +131,7 @@ Read-Only:
- `grant_kit_name` (String)
- `grant_kit_version_id` (String)
- `id` (String)
- `pull_request` (String)
- `reason` (String)
- `reviews` (Attributes List) (see [below for nested schema](#nestedatt--requests--reviews))
- `status` (String) must be one of [Pending, Denied, Approved, Canceled]
Expand All @@ -151,6 +149,7 @@ Read-Only:
- `grant_kit_name` (String)
- `grant_kit_version_id` (String)
- `id` (String)
- `pull_request` (String)
- `reason` (String)
- `request_id` (String)
- `status` (String) must be one of [Pending, Denied, Approved, Canceled]
Expand Down
11 changes: 7 additions & 4 deletions docs/resources/identity.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ Identity Resource

```terraform
resource "abbey_identity" "my_identity" {
linked = "...my_linked..."
name = "Johnnie Stamm"
abbey_account = "...my_abbey_account..."
metadata = "...my_metadata..."
source = "...my_source..."
}
```

Expand All @@ -24,12 +25,14 @@ resource "abbey_identity" "my_identity" {

### Required

- `linked` (String) Json encoded string. See documentation for details
- `name` (String)
- `abbey_account` (String)
- `metadata` (String) Json encoded string. See documentation for details.
- `source` (String)

### Read-Only

- `created_at` (String)
- `id` (String) The ID of this resource.
- `updated_at` (String)


2 changes: 1 addition & 1 deletion examples/provider/provider.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ terraform {
required_providers {
abbey = {
source = "abbeylabs/abbey"
version = "2.1.0"
version = "2.2.0"
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions examples/resources/abbey_identity/resource.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
resource "abbey_identity" "my_identity" {
linked = "...my_linked..."
name = "Johnnie Stamm"
abbey_account = "...my_abbey_account..."
metadata = "...my_metadata..."
source = "...my_source..."
}
1 change: 1 addition & 0 deletions files.gen
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ internal/sdk/pkg/models/operations/revokegrant.go
internal/sdk/pkg/models/operations/createidentity.go
internal/sdk/pkg/models/operations/deleteidentity.go
internal/sdk/pkg/models/operations/getidentity.go
internal/sdk/pkg/models/operations/updateidentity.go
internal/sdk/pkg/models/operations/cancelrequestbyid.go
internal/sdk/pkg/models/operations/createrequest.go
internal/sdk/pkg/models/operations/getrequestbyid.go
Expand Down
8 changes: 4 additions & 4 deletions gen.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
configVersion: 1.0.0
management:
docChecksum: ad48929d9282323a385d356a103808af
docChecksum: 1782e6a415dc8b830f4be9836e6c6fe6
docVersion: v1
speakeasyVersion: 1.65.0
generationVersion: 2.73.0
speakeasyVersion: 1.65.2
generationVersion: 2.75.1
generation:
sdkClassName: SDK
singleTagPerOp: false
terraform:
version: 2.1.0
version: 2.2.0
author: abbeylabs
packageName: abbey
12 changes: 10 additions & 2 deletions internal/provider/grantkit_resource.go

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

72 changes: 44 additions & 28 deletions internal/provider/grantkit_resource_sdk.go

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

58 changes: 42 additions & 16 deletions internal/provider/identity_resource.go

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

Loading

0 comments on commit f58b041

Please sign in to comment.