replace apivore with rswag

This commit is contained in:
Philipp Rothmann 2022-11-07 12:23:54 +01:00
parent 1c2ca42dda
commit 3f114af193
27 changed files with 1489 additions and 1859 deletions

View file

@ -0,0 +1,24 @@
require 'swagger_helper'
describe 'Navigation', type: :request do
include ApiHelper
path '/navigation' do
get 'navigation' do
tags 'General'
produces 'application/json'
response '200', 'success' do
schema type: :object, properties: {
navigation: {
'$ref' => '#/components/schemas/Navigation'
}
}
run_test!
end
it_handles_invalid_token
end
end
end