Build Status


RELAX = RESTFul Tools For Lazy Experts!

What is Relax? ColdBox Relax is a set of RESTFul tools for lazy experts. We pride ourselves in helping you (the developer) work smarter and ColdBox Relax is a tool to help you document your projects faster. ColdBox Relax provides you with the necessary tools to automagically model, document and test your RESTFul services. One can think of ColdBox Relax as a way to describe RESTFul web services, test RESTFul web services, monitor RESTFul web services and document RESTFul web services–all while you relax!


Apache License, Version 2.0.


  • Code:
  • Issues:
  • Documentation:


  • Lucee 4.5+
  • ColdFusion 10+


Just drop into your modules folder or use the box-cli to install

box install relax


You will need to update the your ColdBox.cfc with a relax structure with your preferred settings for Relax.

relax = {
    // The location of the relaxed APIs, defaults to models.resources
    APILocation = "modules.relax.models.resources",
    // Default API to load, name of the directory inside of resources
    defaultAPI = "myapi",
    // History stack size, the number of history items to track in the RelaxURL
    maxHistory = 10


You can look at the samples inside of this module under the models/resources directory. To start you can copy the Relax.cfc into your own project folder and then start spicing up the API via the RelaxDSL methods.

Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp | |


Because of His grace, this project exists. If you don't like this, then don't read it, its not for you.

“Therefore being justified by faith, we have peace with God through our Lord Jesus Christ: By whom also we have access by faith into this grace wherein we stand, and rejoice in hope of the glory of God. And not only so, but we glory in tribulations also: knowing that tribulation worketh patience; And patience, experience; and experience, hope: And hope maketh not ashamed; because the love of God is shed abroad in our hearts by the Holy Ghost which is given unto us. .” Romans 5:5


“I am the way, and the truth, and the life; no one comes to the Father, but by me (JESUS)” Jn 14:1-12



  • ACF Compatibility updates
  • PDF/HTML Export strategy updates
  • Performance enhancements for OpenAPI doc parsing
  • Improvements to $ref parsing and recursion
  • Deprecated DSL docs in favor of Swagger Open API Spec
  • Relaxer service not sending form data correctly
  • Refactoring of Relaxer to support typed API on calls to HTTP
  • Relaxer not sending http proxy ports
  • Relaxer not sending right name for params
  • PDF Export Capabilities


  • Migrates core OpenAPI parsing to swagger-sdk module
  • Implements one-click route population and testing in API test tool
  • Misc bug fixes and additional support for recursion


  • [RELAX-25] - SSL support for assets
  • Converts development workflow to user Grunt/SASS/RJS Optimizer
  • [RELAX-5] - Implements OpenAPI Specification as Relax default
  • Implements backward compatiblity for RelaxDSL
  • [RELAX-3] - Relaxer is now async
  • [RELAX-11] - Relaxer functionality is now rendered in-page
  • [RELAX-7] - Udates DSL Documentation to use dynamic JS Templating
  • Documentation loading is now async
  • Adds OpenAPI specification documentation
  • Exports for Trac and WikiMedia are now async
  • Import issues resolved and converted to async
  • Converts code highlighter from SyntaxHighlighter to Prism.js


  • [RELAX-22] - Updated build scripts for using DocBox
  • [RELAX-23] - Travis CI integration for tests
  • [RELAX-24] - Update of all dependencies of the shell tester
  • [RELAX-21] - Update StringBuffer to StringBuilders
  • [RELAX-4] - Remove dependency on sessions
  • [RELAX-12] - Sample API is excluded
  • [RELAX-20] - The Resource URL changes for every code change, updated internal hash to pattern hash
  • [RELAX-1] - Implement display and DSLDoc modeling modifications to the Relax module
  • [RELAX-17] - Make test shell full URL rewritable
  • [RELAX-18] - Ability to view resource details from doc viewer


  • Updates on box.json and locations
  • Updated readme
  • Updated full skin assets
  • Included sample resources in build
  • Navigation fixes
  • Module Standalone route generation


  • Fixed resource headers, as they are not showing




box install relax

Add the following to your dependencies or devdependencies objects in your box.json, so CommandBox can track it as a dependency.

"relax" : "stable"
4.91 / 11
  • Feb 03 2011 04:59 PM
  • Mar 25 2017 05:01 PM
  • 7996
  • 2446
  • 870