Skip to content

Commit 8a49e2b

Browse files
committed
chore: add doc hidden to re-export
1 parent eeff428 commit 8a49e2b

File tree

1 file changed

+1
-1
lines changed
  • codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/customizations

1 file changed

+1
-1
lines changed

codegen-client/src/main/kotlin/software/amazon/smithy/rust/codegen/client/smithy/customizations/ApiKeyAuthDecorator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class ApiKeyAuthDecorator : ClientCodegenDecorator {
6363

6464
override fun extras(codegenContext: ClientCodegenContext, rustCrate: RustCrate) {
6565
rustCrate.withModule(ClientRustModule.Config) {
66-
rust("pub use #T;", apiKey(codegenContext.runtimeConfig))
66+
rust("##[doc(hidden)] pub use #T;", apiKey(codegenContext.runtimeConfig))
6767
}
6868
}
6969
}

0 commit comments

Comments
 (0)