replace apivore with rswag

This commit is contained in:
Philipp Rothmann 2023-01-05 13:45:45 +01:00
parent 21aa24c010
commit 3fd4ee7fcd
27 changed files with 1493 additions and 1804 deletions

View file

@ -0,0 +1,20 @@
require 'swagger_helper'
describe 'Config', type: :request do
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