[Coldbox-6.1] Replace default structure response

Hi everyone

I started playing with Coldbox to create an API Rest application.
In a short time I was able to get it working :slight_smile:

I have a problem: I would like to replace the default structure response with a custom one. Is possible?

I don’t find anything for this in docs or config.

Many thanks :slight_smile:


My reply to your pagination structure question should point you in the right direction. The solution is going to be to extend or create a new Response object which will be used instead of the one at coldbox/system/web/context/Response.cfc