module Apicraft::Web::Router

def self.routes

def self.routes
  @routes ||= {
    "/": {
      action: :render_erb,
      view_path: "#{WEB_ROOT}/views/index.erb"
    },
    "/swaggerdoc": {
      action: :render_erb,
      view_path: "#{WEB_ROOT}/views/swaggerdoc.erb"
    },
    "/redoc": {
      action: :render_erb,
      view_path: "#{WEB_ROOT}/views/redoc.erb"
    },
    "/rapidoc": {
      action: :render_erb,
      view_path: "#{WEB_ROOT}/views/rapidoc.erb"
    },
    "/assets/images/thumb.png": {
      action: :images,
      view_path: "#{IMAGES_DIR}/apicraft_thumb.png"
    },
    "/assets/images/logo.png": {
      action: :images,
      view_path: "#{IMAGES_DIR}/apicraft.png"
    }
  }.with_indifferent_access
end