Closed
Description
It used to be possible to get access to the original API block at runtime via env['api.endpoint'].block
, so you could do something like env['api.endpoint'].block.source_location
to figure out where the API was actually defined.
Since 3bbb4fe we create an anonymous method, then drop it, losing this information.
For debugging purposes it would be useful to expose block properties at the level of the endpoint.