Adds constraints warning to REST docs as well.