diff --git a/config/initializers/rswag_api.rb b/config/initializers/rswag_api.rb index c4462b2..5c46141 100644 --- a/config/initializers/rswag_api.rb +++ b/config/initializers/rswag_api.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + Rswag::Api.configure do |c| # Specify a root folder where Swagger JSON files are located diff --git a/config/initializers/rswag_ui.rb b/config/initializers/rswag_ui.rb index 30172aa..9540ca4 100644 --- a/config/initializers/rswag_ui.rb +++ b/config/initializers/rswag_ui.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + Rswag::Ui.configure do |c| # List the Swagger endpoints that you want to be documented through the diff --git a/spec/requests/groups_spec.rb b/spec/requests/groups_spec.rb index 4dcfd71..eb96268 100644 --- a/spec/requests/groups_spec.rb +++ b/spec/requests/groups_spec.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + require 'swagger_helper' RSpec.describe 'groups', type: :request do diff --git a/spec/swagger_helper.rb b/spec/swagger_helper.rb index 2cae0bb..c9479c3 100644 --- a/spec/swagger_helper.rb +++ b/spec/swagger_helper.rb @@ -1,3 +1,5 @@ +# Copyright (C) 2024 Manuel Bustillo + # frozen_string_literal: true require 'rails_helper'