Task: Build a REST API Endpoint Discovery Service
Task: Build a REST API Endpoint Discovery Service: a task in Terminal-Lego-15k (Harbor dataset). Create a REST API service in Node.js (using Express) that automatically discovers and exposes all registered endpoints in a structured JSON format. The service should introspect its own routes and…
The task
Create a REST API service in Node.js (using Express) that automatically discovers and exposes all registered endpoints in a structured JSON format. The service should introspect its own routes and provide a metadata endpoint that returns all available API routes, grouped by HTTP method.
Part of PrimeIntellect/Terminal-Lego-15k.