json.partial! 'api/v1/models/custom_attribute_definition', formats: [:json], resource: @custom_attribute_definition