Add api constraints file under lib folder
user
```ruby
class ApiConstraints
  def initialize(options)
    @version = options[:version]
    @default = options[:default]
  end

  def matches?(req)
    @default || req.headers['Accept'].include?("application/vnd.combobuild.v#{@version}")
  end
end```
assistant