Feat: expand commerce api catalog#30
Merged
wcole1-godaddy merged 13 commits intoMay 14, 2026
Merged
Conversation
wcole1-godaddy
approved these changes
Apr 27, 2026
…ce-api-catalog # Conflicts: # package.json
wcole1-godaddy
approved these changes
May 14, 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.
Description
Expand commerce API catalog with full
$refresolution and agent-friendly output.Grows the catalog from 9 → 20 domains (94 → 189 endpoints) by pulling all commerce specifications from
gdcorp-platform. All$refreferences (local#/, relative./, and externalhttps://)are now fully resolved — catalog JSON files are completely self-contained with zero dangling refs.
Key Changes
Catalog generator (
scripts/generate-api-catalog.ts)$refresolution with@apidevtools/json-schema-ref-parser(~55 lines)https://schemas.api.godaddy.com/...URLs and missingcommon-typessubmodule paths (flat and nested ref patterns)taxeswithv2/schemas/graphql/schema.graphql)__runs and strip trailing_api describecommand (src/cli/commands/api.ts)object{owner, channelId, storeId, ...},array<object{id, name, ...}>,enum(active, inactive)schema_detailhint only when endpoint has genuinely nested object/array types--method/-moption to distinguish endpoints sharing the same pathCatalog
20 domains · 189 endpoints · 0 unresolved
$refs · 12.2 MB total