Standardize User-Agent and add telemetry headers#74
Open
luke-hagar-sp wants to merge 2 commits intomainfrom
Open
Standardize User-Agent and add telemetry headers#74luke-hagar-sp wants to merge 2 commits intomainfrom
luke-hagar-sp wants to merge 2 commits intomainfrom
Conversation
Replace generic OpenAPI-Generator User-Agent with SailPoint-SDK/typescript/{ver}
format. Add consumerIdentifier/consumerVersion fields to Configuration
for consumers to identify themselves in the User-Agent via parenthetical
suffix. Standardize X-SailPoint-SDK to typescript/{ver} format and add
X-SailPoint-SDK-Runtime and X-SailPoint-SDK-OS telemetry headers.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
philip-ellis-sp
approved these changes
Mar 5, 2026
…nt-* headers
Format: SailPoint-SDK-TypeScript/{version} ({os}; {arch}) Node/{node-version} (openapi-generator/{gen-version})
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
philip-ellis-sp
approved these changes
Mar 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
OpenAPI-Generator/1.7.16/tsUser-Agent withSailPoint-SDK/typescript/1.7.16to differentiate our published SDK from customer-generated clientsconsumerIdentifierandconsumerVersionfields toConfigurationso consumers can identify themselves:SailPoint-SDK/typescript/1.7.16 (sailpoint-cli/1.2.3)X-SailPoint-SDKheader totypescript/{ver}formatX-SailPoint-SDK-Runtime(e.g.node/20.10.0) andX-SailPoint-SDK-OS(e.g.linux/x64) telemetry headersFiles changed
sdk-output/configuration.ts— new consumer fields onConfigurationParametersandConfigurationclasssdk-resources/resources/common.mustache— dynamic User-Agent with consumer suffix, updated X-SailPoint-SDK, added telemetry headersTest plan
make buildto regenerate all versioned packagessdk-output/v3/common.tscontains new header formatcd sdk-output && npm testto verify no regressions🤖 Generated with Claude Code