/**
 * An object for swagger documentation configuration
 */
export default {
  definitions: {
    message: {
      type: 'object',
      properties: {
        text: {
          type: 'string'
        }
      }
    },
    message_list: {
      type: 'array',
      items: { $ref: '#/definitions/message' }
    }
  },
  securities: ['create', 'update', 'patch', 'remove'],
  operations: {
    find: {
      security: [{ bearer: [] }]
    }
  }
}
