Skip to content

Commit

Permalink
Typo in documentation related to NestedAttributeObject (#833)
Browse files Browse the repository at this point in the history
* Update list-nested.mdx

* additional documentation fixes
  • Loading branch information
laliconfigcat authored Sep 4, 2023
1 parent 3164621 commit a04b10b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (r ThingResource) Schema(ctx context.Context, req resource.SchemaRequest, r
resp.Schema = schema.Schema{
Attributes: map[string]schema.Attribute{
"example_attribute": schema.ListNestedAttribute{
NestedObject: schema.NestedAttributeOjbect{
NestedObject: schema.NestedAttributeObject{
Attributes: map[string]schema.Attribute{
"attr": schema.StringAttribute{
Required: true,
Expand Down Expand Up @@ -70,7 +70,7 @@ func (r ThingResource) Schema(ctx context.Context, req resource.SchemaRequest, r
resp.Schema = schema.Schema{
Attributes: map[string]schema.Attribute{
"example_attribute": schema.ListNestedAttribute{
NestedObject: schema.NestedAttributeOjbect{
NestedObject: schema.NestedAttributeObject{
Attributes: map[string]schema.Attribute{
"attr1": schema.ListAttribute{
ElementType: types.StringType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (r ThingResource) Schema(ctx context.Context, req resource.SchemaRequest, r
resp.Schema = schema.Schema{
Attributes: map[string]schema.Attribute{
"example_attribute": schema.MapNestedAttribute{
NestedObject: schema.NestedAttributeOjbect{
NestedObject: schema.NestedAttributeObject{
Attributes: map[string]schema.Attribute{
"attr": schema.StringAttribute{
Required: true,
Expand Down Expand Up @@ -70,7 +70,7 @@ func (r ThingResource) Schema(ctx context.Context, req resource.SchemaRequest, r
resp.Schema = schema.Schema{
Attributes: map[string]schema.Attribute{
"example_attribute": schema.MapNestedAttribute{
NestedObject: schema.NestedAttributeOjbect{
NestedObject: schema.NestedAttributeObject{
Attributes: map[string]schema.Attribute{
"attr1": schema.ListAttribute{
ElementType: types.StringType,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (r ThingResource) Schema(ctx context.Context, req resource.SchemaRequest, r
resp.Schema = schema.Schema{
Attributes: map[string]schema.Attribute{
"example_attribute": schema.SetNestedAttribute{
NestedObject: schema.NestedAttributeOjbect{
NestedObject: schema.NestedAttributeObject{
Attributes: map[string]schema.Attribute{
"attr": schema.StringAttribute{
Required: true,
Expand Down Expand Up @@ -70,7 +70,7 @@ func (r ThingResource) Schema(ctx context.Context, req resource.SchemaRequest, r
resp.Schema = schema.Schema{
Attributes: map[string]schema.Attribute{
"example_attribute": schema.SetNestedAttribute{
NestedObject: schema.NestedAttributeOjbect{
NestedObject: schema.NestedAttributeObject{
Attributes: map[string]schema.Attribute{
"attr1": schema.ListAttribute{
ElementType: types.StringType,
Expand Down

0 comments on commit a04b10b

Please sign in to comment.