[NI][SDK] Read Platform SDK names from source specs#103
Closed
chris-freeman-glean wants to merge 1 commit into
Closed
Conversation
Generate Speakeasy names for Platform operations from x-glean-sdk metadata so public SDK naming is owned by the scio source spec instead of a manual open-api map.
18 tasks
Contributor
Author
|
Superseded by standalone replacement PR #104. |
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.
Internal Description for reviewers:
Platform SDK generation currently hardcodes public method names in open-api, so every source endpoint addition requires a second manual mapping update in the SDK publishing repo. This PR makes the Platform transform read scio-owned
x-glean-sdkmetadata, validates format and uniqueness before emitting Speakeasy names, and updates generated specs from the metadata-driven local rehearsal.PR Stack (
cfreeman/api-overhaul-pr19c-platform-speakeasy):Companion scio PR: https://github.com/askscio/scio/pull/238861
Context/Jira (Mandatory if external):
N/A
Test plan:
npm test -- tests/source-spec-transformer.test.jsRelease Notes (go/relnotesfaq)
Change Categories (mandatory - check all that apply)
(DO NOT include confidential details. Should be at least 40 characters long.)
External description for customers:
No customer-visible behavior change; this updates internal generation metadata for an unreleased Platform API SDK surface.