smithy-lang / smithy-kotlin

Smithy code generator for Kotlin (in development)
Apache License 2.0
77 stars 26 forks source link

misc: add `visibility` build setting #951

Closed lauzadis closed 11 months ago

lauzadis commented 11 months ago

This PR updates build settings to allow configuring visibility for serviceClient, structure, and error. This corresponds to visibility on the generated service client, Smithy Structure shapes, and Smithy Error shapes, respectively.

Issue \

N/A

Description of changes

This change is required so we can generate internal-only SDK clients with the proper internal visibility, so they don't show up in the public API footprint.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

sonarcloud[bot] commented 11 months ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
25.4% 25.4% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint