Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested schema is omitted in v0.19.0 #356

Closed
1 task done
Serpentiel opened this issue Apr 16, 2024 · 1 comment · Fixed by #357
Closed
1 task done

Nested schema is omitted in v0.19.0 #356

Serpentiel opened this issue Apr 16, 2024 · 1 comment · Fixed by #357
Labels
bug Something isn't working

Comments

@Serpentiel
Copy link

Terraform CLI and terraform-plugin-docs Versions

Terraform: v1.7.3
terraform-plugin-docs: v0.19.0

Provider Code

diff --git a/docs/data-sources/cassandra.md b/docs/data-sources/cassandra.md
index e13add824..159818d4c 100644
--- a/docs/data-sources/cassandra.md
+++ b/docs/data-sources/cassandra.md
@@ -87,7 +87,7 @@ Read-Only:
 - `static_ips` (Boolean)
 
 <a id="nestedobjatt--cassandra_user_config--cassandra"></a>
-### Nested Schema for `cassandra_user_config.cassandra`
+### Nested Schema for ``
 
 Read-Only:
 
@@ -97,7 +97,7 @@ Read-Only:
 
 
 <a id="nestedobjatt--cassandra_user_config--ip_filter_object"></a>
-### Nested Schema for `cassandra_user_config.ip_filter_object`
+### Nested Schema for ``
 
 Read-Only:
 
@@ -106,7 +106,7 @@ Read-Only:
 
 
 <a id="nestedobjatt--cassandra_user_config--private_access"></a>
-### Nested Schema for `cassandra_user_config.private_access`
+### Nested Schema for ``
 
 Read-Only:
 
@@ -114,7 +114,7 @@ Read-Only:
 
 
 <a id="nestedobjatt--cassandra_user_config--public_access"></a>
-### Nested Schema for `cassandra_user_config.public_access`
+### Nested Schema for ``
 
 Read-Only:
 
diff --git a/docs/data-sources/clickhouse.md b/docs/data-sources/clickhouse.md
index 89d0066a4..0cc97262e 100644
--- a/docs/data-sources/clickhouse.md
+++ b/docs/data-sources/clickhouse.md
@@ -82,7 +82,7 @@ Read-Only:
 - `static_ips` (Boolean)
 
 <a id="nestedobjatt--clickhouse_user_config--ip_filter_object"></a>
-### Nested Schema for `clickhouse_user_config.ip_filter_object`
+### Nested Schema for ``
 
 Read-Only:
 
@@ -91,7 +91,7 @@ Read-Only:
 
 
 <a id="nestedobjatt--clickhouse_user_config--private_access"></a>
-### Nested Schema for `clickhouse_user_config.private_access`
+### Nested Schema for ``
 
 Read-Only:
 
@@ -102,7 +102,7 @@ Read-Only:
 
 
 <a id="nestedobjatt--clickhouse_user_config--privatelink_access"></a>
-### Nested Schema for `clickhouse_user_config.privatelink_access`
+### Nested Schema for ``
 
 Read-Only:
 
@@ -113,7 +113,7 @@ Read-Only:
 
 
 <a id="nestedobjatt--clickhouse_user_config--public_access"></a>
-### Nested Schema for `clickhouse_user_config.public_access`
+### Nested Schema for ``
 
 Read-Only:

Expected Behavior

Nested schema isn't omitted.

Actual Behavior

Nested schema is omitted.

Steps to Reproduce

Simply ran the new version of terraform-plugin-docs against our provider.

How much impact is this issue causing?

High

Logs

No response

Additional Information

This is discovered in aiven/terraform-provider-aiven#1694. This could be related to #355.

As far as I can see, this is probably related to this: #285.

Code of Conduct

  • I agree to follow this project's Code of Conduct
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant