<commit_before>Rails.application.routes.draw do
  resources :items
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  mount_devise_token_auth_for 'User', at: 'auth'
  
  mount Rswag::Ui::Engine => '/api-docs'
  mount Rswag::Api::Engine => '/api-docs'
  
  namespace :api do
    namespace :v1 do
      resources :events
    end
  end
  
  # constraints subdomain: 'api' do
  #   scope module: 'api' do
  #     namespace :v1 do
  #       resources :events
  #     end
  #   end
  # end

  # namespace :api, path: '/' do
  #   scope module: :v1 do
  #     resources :events
  #   end
  # end
  
end
<commit_msg>Moved authentication under API v1 namespace.<commit_after>Rails.application.routes.draw do
  # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
  # mount_devise_token_auth_for 'User', at: 'auth'
  
  mount Rswag::Ui::Engine => '/api-docs'
  mount Rswag::Api::Engine => '/api-docs'
  
  namespace :api do
    namespace :v1 do
      mount_devise_token_auth_for 'User', at: 'auth'
      resources :clubs
      resources :events
      resources :items
    end
  end
  
end

{'fraction_non_alphanumeric': 0.1085665818490246, 'fraction_numerical': 0.004240882103477523, 'mean_word_length': 2.8815789473684212, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2831497', 'n_tokens_mistral': 405, 'n_tokens_neox': 401, 'n_words': 111}