Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.0.1, Speakeasy CLI 1.120.1
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Nov 15, 2023
1 parent 177347c commit 4e9a6af
Show file tree
Hide file tree
Showing 11 changed files with 64 additions and 26 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ terraform {
required_providers {
hashicups = {
source = "speakeasy/hashicups"
version = "0.9.1"
version = "0.9.2"
}
}
}
Expand Down
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,12 @@ Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.119.0 (2.188.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [terraform v0.9.1] .
- [terraform v0.9.1] .

## 2023-11-15 01:06:52
### Changes
Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.120.1 (2.189.1) https://github.com/speakeasy-api/speakeasy
### Generated
- [terraform v0.9.2] .
36 changes: 36 additions & 0 deletions docs/data-sources/hashicups_order.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hashicups_order Data Source - repo"
subcategory: ""
description: |-
Order DataSource
---

# hashicups_order (Data Source)

Order DataSource

## Example Usage

```terraform
data "hashicups_order" "my_order" {
id = 3
}
```

<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `id` (Number) The ID of the order get.

### Read-Only

- `description` (String) Product description of the coffee.
- `image` (String) URI for an image of the coffee.
- `name` (String) Product name of the coffee.
- `price` (Number) Suggested cost of the coffee.
- `teaser` (String) Fun tagline for the coffee.


6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hashicups Provider"
page_title: "repo Provider"
subcategory: ""
description: |-
Hashicups: Example Hashicups through Speakeasy
---

# hashicups Provider
# repo Provider

Hashicups: Example Hashicups through Speakeasy

Expand All @@ -17,7 +17,7 @@ terraform {
required_providers {
hashicups = {
source = "speakeasy/hashicups"
version = "0.0.1"
version = "0.9.2"
}
}
}
Expand Down
11 changes: 6 additions & 5 deletions docs/resources/order.md → docs/resources/hashicups_order.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "hashicups_order Resource - terraform-provider-hashicups"
page_title: "hashicups_order Resource - repo"
subcategory: ""
description: |-
Order Resource
Expand All @@ -14,10 +14,11 @@ Order Resource

```terraform
resource "hashicups_order" "my_order" {
image = "...my_image..."
name = "Terrence Rau"
price = 85.8
teaser = "...my_teaser..."
description = "...my_description..."
image = "...my_image..."
name = "Dr. Naomi Harber"
price = 37.59
teaser = "...my_teaser..."
}
```

Expand Down
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 {
hashicups = {
source = "speakeasy/hashicups"
version = "0.9.1"
version = "0.9.2"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ configVersion: 1.0.0
management:
docChecksum: 7b193330bf41e2c47ba62aa354c4a561
docVersion: 0.0.1
speakeasyVersion: 1.119.0
generationVersion: 2.188.1
speakeasyVersion: 1.120.1
generationVersion: 2.189.1
generation:
comments: {}
sdkClassName: SDK
Expand All @@ -12,11 +12,11 @@ generation:
optionalPropertyRendering: withExample
features:
terraform:
core: 3.4.3
core: 3.4.4
globalSecurity: 2.81.1
globalServerURLs: 2.82.0
terraform:
version: 0.9.1
version: 0.9.2
author: speakeasy
imports:
option: openapi
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ require (
github.com/ericlagergren/decimal v0.0.0-20221120152707-495c53812d05
github.com/hashicorp/terraform-plugin-framework v1.3.5
github.com/hashicorp/terraform-plugin-go v0.18.0
github.com/spyzhov/ajson v0.9.0
)

require (
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMB
github.com/spf13/cast v1.3.1/go.mod h1:Qx5cxh0v+4UWYiBimWS+eyWzqEqokIECu5etghLkUJE=
github.com/spf13/cast v1.5.0 h1:rj3WzYc11XZaIZMPKmwP96zkFEnnAmV8s6XbB2aY32w=
github.com/spf13/cast v1.5.0/go.mod h1:SpXXQ5YoyJw6s3/6cMTQuxvgRl3PCJiyaX9p6b155UU=
github.com/spyzhov/ajson v0.9.0 h1:tF46gJGOenYVj+k9K1U1XpCxVWhmiyY5PsVCAs1+OJ0=
github.com/spyzhov/ajson v0.9.0/go.mod h1:a6oSw0MMb7Z5aD2tPoPO+jq11ETKgXUr2XktHdT8Wt8=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
Expand Down
6 changes: 3 additions & 3 deletions internal/sdk/sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ func New(opts ...SDKOption) *SDK {
sdkConfiguration: sdkConfiguration{
Language: "go",
OpenAPIDocVersion: "0.0.1",
SDKVersion: "0.9.1",
GenVersion: "2.188.1",
UserAgent: "speakeasy-sdk/go 0.9.1 2.188.1 0.0.1 hashicups",
SDKVersion: "0.9.2",
GenVersion: "2.189.1",
UserAgent: "speakeasy-sdk/go 0.9.2 2.189.1 0.0.1 hashicups",
},
}
for _, opt := range opts {
Expand Down
6 changes: 1 addition & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ import (
"github.com/speakeasy/terraform-provider-hashicups/internal/provider"
)

// Run "go generate" to format example terraform files and generate the docs for the registry/website

// If you do not have terraform installed, you can remove the formatting command, but its suggested to
// ensure the documentation is formatted properly.
//go:generate terraform fmt -recursive ./examples/
// Run "go generate" to generate the docs for the registry/website on each regeneration of the provider.

// Run the docs generation tool, check its repository for more information on how it works and how docs
// can be customized.
Expand Down

0 comments on commit 4e9a6af

Please sign in to comment.