Skip to content

Feat: Support Flux router and schema introspection endpoints#2

Merged
loookashow merged 2 commits into
mainfrom
feat/add-router-and-schema-introspection
Feb 25, 2026
Merged

Feat: Support Flux router and schema introspection endpoints#2
loookashow merged 2 commits into
mainfrom
feat/add-router-and-schema-introspection

Conversation

@loookashow

Copy link
Copy Markdown
Contributor

Summary

This PR adds TypeScript SDK support for the new Flux API introspection endpoints and route-level endpoint descriptions for API folder connections.

What’s Changed

  • Added Flux introspection methods:
    • FluxClient.getRouter()GET /{api_prefix}/_router
    • FluxClient.getSchema(folderPath)GET /{api_prefix}/{folder_path}/_schema
  • Extended Management API folder connection options:
    • addApiFolder() and updateApiFolder() now support:
      • descriptionGetOne
      • descriptionGetMany
      • descriptionSearch
      • descriptionSchema
  • Updated response models:
    • APIFolderSummary now includes:
      • description_get_one
      • description_get_many
      • description_search
      • description_schema
  • Exported new public types:
    • ApiFolderRouteDescriptionOptions
    • ApiFolderOptions
  • Updated SDK docs (README) with new usage examples.
  • Added/updated unit tests for both introspection and API-folder payload mapping.

Integration Coverage

  • Extended API-folder integration tests to validate route description fields.
  • Updated shared setup to create API-folder bindings with route descriptions.

Release

  • Bumped SDK version to 0.2.0.

Validation

Executed successfully:

  • pnpm -C ts-sdk lint
  • pnpm -C ts-sdk typecheck
  • pnpm -C ts-sdk format:check (after formatting)
  • pnpm -C ts-sdk test
  • pnpm -C ts-sdk build

- add FluxClient.getRouter() and FluxClient.getSchema(folderPath)
- extend addApiFolder()/updateApiFolder() with descriptionGetOne/Many/Search/Schema options
- expose description_* fields on APIFolderSummary
- export new ApiFolderOptions and ApiFolderRouteDescriptionOptions types
- add/adjust unit tests for introspection and API folder payload mapping
- update README with new SDK usage examples
@loookashow loookashow merged commit a452474 into main Feb 25, 2026
3 checks passed
@loookashow loookashow deleted the feat/add-router-and-schema-introspection branch February 25, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant