2023-05-12 11:11:48 +02:00
|
|
|
require 'swagger_helper'
|
|
|
|
|
2023-05-12 13:01:12 +02:00
|
|
|
describe Api::V1::ConfigsController do
|
2023-05-12 11:11:48 +02:00
|
|
|
include ApiHelper
|
|
|
|
|
|
|
|
path '/config' do
|
|
|
|
get 'configuration variables' do
|
|
|
|
tags 'General'
|
|
|
|
produces 'application/json'
|
|
|
|
let(:api_scopes) { ['config:user'] }
|
|
|
|
|
|
|
|
response '200', 'success' do
|
|
|
|
schema type: :object, properties: {}
|
|
|
|
run_test!
|
|
|
|
end
|
|
|
|
|
|
|
|
it_handles_invalid_token_and_scope
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|