summaryrefslogtreecommitdiff
path: root/app/models/blob_viewer/open_api.rb
blob: 963b7336c8d648a88cffa7f77c3661ec66257e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

module BlobViewer
  class OpenApi < Base
    include Rich
    include ClientSide

    self.partial_name = 'openapi'
    self.file_types = %i(openapi)
    self.binary = false
    # TODO: get an icon for OpenAPI
    self.switcher_icon = 'file-pdf-o'
    self.switcher_title = 'OpenAPI'
  end
end