Skip to content

Conversation

@JS-AK
Copy link

@JS-AK JS-AK commented Nov 30, 2025

Description

This PR introduces a new internal action listAllMappings to the API Gateway service. This action provides a complete list of all available API endpoints, aggregating both explicitly defined aliases and automatically generated routes (from mappingPolicy: 'all').

Why

Currently, it's difficult to get a full picture of all exposed endpoints, especially when using a mix of aliases and auto-mapped routes. This new action helps developers debug their API surface and can be used as a data source for generating API documentation or service discovery tools.

Features

  • Lists all explicit aliases.
  • Computes and lists all implicit routes generated by mappingPolicy: 'all'.
  • Supports grouping by route.
  • Can include full action schemas in the response.
  • Respects whitelist/blacklist and action visibility settings.
  • Correctly handles internal service names (replacing $ with configured special char).

Example Usage

call api.listAllMappings { grouping: true }

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