Skip to content

Commit

Permalink
chore: add doc hidden to re-export
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomourar committed Feb 15, 2023
1 parent eeff428 commit 8a49e2b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ApiKeyAuthDecorator : ClientCodegenDecorator {

override fun extras(codegenContext: ClientCodegenContext, rustCrate: RustCrate) {
rustCrate.withModule(ClientRustModule.Config) {
rust("pub use #T;", apiKey(codegenContext.runtimeConfig))
rust("##[doc(hidden)] pub use #T;", apiKey(codegenContext.runtimeConfig))
}
}
}
Expand Down

0 comments on commit 8a49e2b

Please sign in to comment.