Skip to content

Conversation

@smk762
Copy link
Contributor

@smk762 smk762 commented Aug 26, 2025

Generates a postman collection from json component sources from method request examples and table json bodies.
Outputs reports to indicate where components are missing to help with backfill.

This PR contains only a limited set of examples for "proof of concept". Coverage will be expanded once the foundations are merged into dev branch, to avoid excessively large PRs weighing down the concrete while it's still wet.

Part B to this PR (will be handled in a separate branch) is response retrieval / validation.

Example output in Postman:

image

@smk762 smk762 requested review from gcharang and shamardy August 26, 2025 18:11
@smk762 smk762 changed the base branch from inject-clean-electrums to dev August 28, 2025 17:11
@smk762 smk762 marked this pull request as draft August 28, 2025 18:13
@github-actions
Copy link

github-actions bot commented Aug 29, 2025

Documentation Preview Links

Preview for commit: 086346c
Base URL: https://788bab51.komodo-docs.pages.dev/en/docs

@gcharang gcharang requested a review from Copilot November 11, 2025 16:57
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a Postman collection builder that generates API method collections from JSON component sources (request examples and table JSON bodies). It also includes infrastructure updates, documentation improvements, and several bug fixes across the codebase.

Key Changes

  • Added Postman collection generation infrastructure with Docker support for KDF and response processing
  • Migrated multiple API documentation pages to use JSON-based request/response sources instead of hardcoded examples
  • Updated Python utilities for better slug handling and API method table generation
  • Enhanced JSON schema to support substructure references and context tags

Reviewed Changes

Copilot reviewed 77 out of 101 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
utils/py/batch_update_nodes.py Changed logging level from DEBUG to INFO for verbose mode
utils/py/README_update_nodes.md Removed entire node update script documentation
utils/js/cleanup_bad_sidebar_wallet_links.js Added script to remove malformed wallet links from sidebar
utils/js/auto_add_missing_sidebar_wallet_links.js Added script to auto-populate missing wallet links in sidebar
utils/gen_api_methods_table.py Enhanced slug generation with fallback computation and persistence
utils/docker/Dockerfile.processor Added Docker image for response processing
utils/docker/Dockerfile.kdf_native Added multi-stage Docker build for KDF
utils/_changeLogVersions.json Updated KDF version to v2.5.2-beta
src/pages/komodo-defi-framework/changelog/index.mdx Added changelog entry for v2.5.2-beta release
src/pages/komodo-defi-framework/api/v20/wallet/* Migrated multiple wallet API pages to JSON-based sources
src/pages/komodo-defi-framework/api/legacy/* Migrated legacy API pages to CompactTable/KdfResponses components
src/data/tables/v2/wallet.json Added comprehensive wallet API table definitions
src/data/tables/v2/utils.json Reorganized utility API table definitions
src/data/tables/v2/streaming.json Reorganized streaming API table definitions with substructure references
src/data/tables/legacy/utils.json Added legacy utility API table definitions
src/data/schemas/compact-table.schema.json Extended schema to support substructure and context fields

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@gcharang gcharang marked this pull request as ready for review November 11, 2025 17:41
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.

3 participants